Sunday, January 2, 2011

Intoduction to JUnit

Introduction:

JUnit is a simple open source Java testing framework used to write and run repeatable automated tests. It is an instance of the xUnit architechture for unit testing framework. Eclipse supports creating test cases and running test suites, so it easy to use for your Java applications.

JUnit features includes:

  • Assertions for testing expected results 
  • Test fixtures for sharing common test data
  • Test suites for easily organizing and running tests
  • Graphical and textual test runners
JUnit is program used to perform unit testing of virtually any sofware. JUnit testing is accomplished by writing test cases using Java, compiling these test cases and running the resultant classes with a JUnit Test runner.

Next>> 

No comments:

Post a Comment