Sunday, December 8, 2013

Junit Testing Introdcution

Testing:
Testing is the process of checking the functionality of the application as per requirements.

JunitTesting:
-JUnit is a unit testing framework for the Java Programming Language
-It is a process of checking the functionality of the application at the developer level .
-Main use of junit testing is programmer productivity and stability of program code that reduces programmer stress and the time spent on debugging.

Features :
*JUnit is an open source framework used for writing & running tests.
*Provides Annotation to identify the test methods.
*Provides Assertions for testing expected results.
*Provides Test runners for running tests.
*JUnit tests allow you to write code faster which 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.

UnitTest case:
*A Unit Test Case is a part of code which ensures that the another part of code (method) works as
expected.
*JUnit is perfect unit test framework for java programming language.






No comments:

Post a Comment