3

I've got a largish Java EE project in Eclipse Kepler, and going through New/Other/JUnit Test Case for each file is not really something I want to do.

So, first I want to find a tool that will build these skeletons en masse - Google CodePro Analytix promised that, but it's a bit out of date. What do you recommend.

Secondly, and closely related, the project uses JPA, JAX, CDI, etc, etc, so I would need a lot of mocking or other techniques to perform unit tests; what do you recommend?

2
  • What platform(s) do you need it to run on? Commented Aug 28, 2014 at 4:57
  • 1
    I presumed the solution would be a Java program, so on anything. Preferred is Linux, second is Windows.
    – Ken Y-N
    Commented Aug 28, 2014 at 5:04

1 Answer 1

2

This web site on automated testing lists quite a few academic and commercial test case generators. Unfortunately, I don't see any that generate test cases en masse. Most, if not all, seem to generate tests for either one class or one method at a time.

Update: Agitar's claims its JUnit Generator can generate many unit tests quickly. I don't know if it is current. Most of the information seems old.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.