Features & Need of Junit

Features & Need of Junit


Posted in : Java Posted on : November 22, 2010 at 6:40 PM Comments : [ 0 ]

This section contains the Features & Need of Junit.

Features & Need of JUnit

Features of JUnit

Following are some of the key features of JUnit :

  • Annotation to identify the test methods(After JUnit 4 ).

  • Assertions for testing expected results.

  • Test fixtures for sharing common test data.

  • Test runners for running tests.

  • Aggregating tests using suites.

 

Need of JUnit

  • JUnit tests allow you to write code faster while increasing quality.

  • JUnit is elegantly simple. It is less complex & takes less time.

  • JUnit tests can be run automatically and they check their own results and provide immediate feedback. There's no need to manually comb through a report of test results.

  • JUnit tests can be organized into test suites containing test cases and even other test suites.

  • Writing JUnit tests is inexpensive.

Go to Topic «PreviousHomeNext»

Your Comment:


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

 
Tutorial Topics