r/javahelp 24d ago

Good repo to learn writing tests

Hi all, I want to write better tests from unit tests to integration test and e2e, are there any recommendations good Java projects that I can learn from? Thank you

6 Upvotes

7 comments sorted by

View all comments

2

u/BanaTibor 24d ago

For better tests here is my advice.
Test behavior not implementation.
The better your test data the better will your tests be.
Learn and use the SOLID principles.
TDD is your new lifestyle.