wood burning stoves 2.0*
The moose likes Java in General and the fly likes Java Unit test tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Unit test tool" Watch "Java Unit test tool" New topic
Author

Java Unit test tool

kantu Deshpande
Greenhorn

Joined: Sep 29, 2000
Posts: 13
Hi,
I'm in the process of finding a tool for Unit testing of java code. Can anybody tell me which one I should use?. I want both static as well as dybamic analysis testing..We are already tested Jtest..If you know any other..please let me know.
Thanks,
Lax..
Eric Stephens
Greenhorn

Joined: Jun 14, 2001
Posts: 11
I highly recommend JUnit (junit.org) for unit testing. I'm very pleased with both the (open source) product and the general concept of "test-first" design and implementation.
------------------
Eric A. Stephens, SCJP
Software Architect, Mentor, & Instructor
ericastephens@mycingular.com


Eric A. Stephens<BR>Sun Certified Programmer for the Java? 2 Platform<BR>ericastephens@mycingular.com
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Never used any other unit testing tools so I'm not impartial, but I'm loving JUnit at the moment.
Dave.
kantu Deshpande
Greenhorn

Joined: Sep 29, 2000
Posts: 13
Hi,
I'm trying to download it and work through it (Junit). But, does it cover the static as well as dynamic analysis?. I'm evaluating some tool so that we can use for testing..please let me know..
One more tool I have noticed is IQTest from classiq.com. If you have any idea about this tool. Please let me know as well.
I appreciate your help..
Thanks,
lax..
kantu Deshpande
Greenhorn

Joined: Sep 29, 2000
Posts: 13
Hi,
I'm forgot mention one more thing. We are working in UNIX Solaris 2.6. I have noticed Junit tool. Do we need to write some code to for using Junit?. or does it generate test case and the report automatically?. Please let me know..
thanks,
laxmikant
manish p
Greenhorn

Joined: Aug 20, 2001
Posts: 6
JUnit provides a framework for unit testing your code. You will still have to write the test cases for yourself. The strength in using JUnit is that it provides a framework for you unit tests to sit in. This framework will allow you to run regression tests on your code, e.g. everynight before you go home, and then present you with a report of the errors.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java Unit test tool
 
Similar Threads
JUnit white box testing
Testing material
Testing in other environments
what is differece unit testin adn ejb3unit for entity bean
How good is rational RobotJ?