Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

End2End/integration Testing in Java with Selenium - how to get a good test structure - looking for experiences

I have been organizing and implementing end-to-end test frameworks for more than 10 years. I have to say, I am frustrated by the lack of design patterns and architectural guidelines for this kind of ...
Greg Burghardt's user avatar
0 votes

End2End/integration Testing in Java with Selenium - how to get a good test structure - looking for experiences

every project does things differently, from selectors to page objects Initially Selenium IDE will help you identify those, similar to using Firefox CMD-I inspector to click on part of the page and ...
J_H's user avatar
  • 7,153
1 vote

Should Value Objects be used inside the DTO?

If you are able to use your value objects with thier built in validation on the client side of the DTO it begs the question of why you have a DTO at all. The purpose of a DTO in this case would be to ...
Ewan's user avatar
  • 76.4k
-3 votes

TDD when removing long lived feature

Most of your failing tests are making an irrelevant assertion. Fix that before performing the change. The test should assert whatever is relevant for the use case it emulates. As you have test ...
Basilevs's user avatar
  • 2,011
2 votes

TDD when removing long lived feature

I think it is hard to give you reasonable advice without knowing the whole system, but my best guess is that you changed the Manager class to not call clearInitialData() anymore, and your test suite ...
Doc Brown's user avatar
  • 209k
7 votes

TDD when removing long lived feature

You are feeling the pain that happens when tests are not written to be independent. Step one is making all of these tests independent. Break the dependency between testInitialDataCleared and all the ...
Greg Burghardt's user avatar

Top 50 recent answers are included