Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Unit test tool

 
kantu Deshpande
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never used any other unit testing tools so I'm not impartial, but I'm loving JUnit at the moment.
Dave.
 
kantu Deshpande
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic