Junit 4.0 Vs TestNG

More benefits with TestNG like

[1] More flexibility , BeforeClass doesnt need to be static

[2] Dependency Testing : Annotate dependsonmethod=’xxx’

[3] Skipping and not failing

[4] Fail and rerun

[5] Parameteric testing

[6] Timed Test (both provide)

Testing with TestNG, http://www.ibm.com/developerworks/java/library/j-testng/

Benefits, http://www.ibm.com/developerworks/java/library/j-cq08296/index.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s