#1
11th March 2016, 12:33 PM
| |||
| |||
JUNIT testing
Hello sir I required the information about JUnit testing so please provide me suitable information about this test.
|
#2
11th March 2016, 12:33 PM
| |||
| |||
Re: JUNIT testing
JUnit is a Regression Testing Framework used by developers to implement unit testing in Java and accelerate programming speed and increase the quality of code. JUnit Framework can be easily integrated with either of the followings: Eclipse Ant Maven Prerequisites You are going to use JUnit to handle all levels of Java projects development. So it will be good if you have knowledge of software development using any programming language especially Java programming and software testing process Features JUnit test framework provides following important features Fixtures Test suites Test runners JUnit classes 1. Fixtures Fixtures is a fixed state of a set of objects used as a baseline for running tests. The purpose of a test fixture is to ensure that there is a well known and fixed environment in which tests are run so that results are repeatable. It includes Setup () method which runs before every test invocation Teardown () method which runs after every test method 2. Test suite Test suite means bundle a few unit test cases and run it together. In JUnit, both @RunWith and @Suite annotation are used to run the suite test. 3. Test runner Test runner is used for executing the test cases. |