What are the technologies out there? (I only know of JUnit) What is the most popular? Can you please explain the pros/cons of each?
Thanks Alot!!
What are the technologies out there? (I only know of JUnit) What is the most popular? Can you please explain the pros/cons of each?
Thanks Alot!!
JUnit and TestNG are the most popular. JUnit being the de-facto standard, and TestNG providing some extra features.
You can find good comparison between JUnit and TestNG here:
http://hi.baidu.com/auraro816/blog/item/efe0574d03db6df4d72afc9f.html
if you have time to listen podcast try with Basement coders -Episode 21 – Interview with Cedric Beust creator of testNG
JUnit and TestNG are the main unit test frameworks.
Comparison can be found here - http://www.ibm.com/developerworks/java/library/j-cq08296/
I've used JUnit in most places I've worked, it seems to be the standard, but there are some nice things in TestNG.
I've used the following in combination with JUnit to facilitate testing:
There are a lot of "add-on" framework for specific kinds of testing, typically these depend on JUnit. Examples: