I investigated tools with Java to generate unit tests automatically.
I found 4 tools like below and I generated unit tests from 2 types of my codes with them.
- Simple class with static method. NumberUtils
- Service class of Spring MVC having dependency injection. ZipCodeService
Please see the details ( summary / preparation / how to generate ) from the following readme documents.