Where can I find open source online applications on the Internet that contain (mostly) complete unit test suites in Java?

I work in a large enterprise, and my unit test teams and coverage are poor. I took copies of xUnit Test Patterns: Refactoring test code and Works Effectively with Legacy Code , but I would really like to see some examples of test suites for existing applications. In particular, I am looking for the following:

  • Open source (so I can look at the code and test cases)
  • A test application is a web application. (Not a web application infrastructure. I want to see something with some business logic.)
  • It is written in Java, so JUnit or TestNG are both good.

I have dug on Github , but so far the vast majority of the Java applications I come across are Android apps or not test suites.

+4
source share
1 answer

Take a look at this https://github.com/testinfected/petstore/ - this is the Spring / Hibernate pet store web app using the ideas at http://www.growing-object-oriented-software.com/ .

+1
source

Source: https://habr.com/ru/post/1393761/


All Articles