File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes best tool/framework for Unit test cases Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "best tool/framework for Unit test cases" Watch "best tool/framework for Unit test cases" New topic
Author

best tool/framework for Unit test cases

bhagya patil
Greenhorn

Joined: Oct 14, 2007
Posts: 12
Hi,

I would like to know best tool/framework for java unit test
cases.
Junit is usually preferred but there are few contraints with it.
How about cactus ?
Pls let me know merits and demerits of Junit.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The merits of JUnit are that it has the dominant user base (almost everyone uses JUnit) and that the tool support is second to none.

And Cactus isn't a unit testing framework. It's an extension to JUnit.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Some people prefer TestNG over JUnit, although I would always choose JUnit. It's a matter of taste, I guess. I'm not aware of other serious alternatives.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
bhagya patil
Greenhorn

Joined: Oct 14, 2007
Posts: 12
Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: best tool/framework for Unit test cases
 
Similar Threads
What kind of methods and classes can i test with JUnit
need the difference between Junit and JReports
Non J2EE transactional management in Java
System Tests
Is JUnit for j2ee ??