Why do we use JUnit testing?
The multiple essential features of JUnit testing are the answer to the above question. Some of them are as follows-
- Useful in providing the status of the result after testing, i.e., shows green on the smooth running of the test, whereas, red is the color in the otherwise case.
- Test cases can be organized in the form of JUnit tests
- Helps in the fast writing and execution of the codes
- Junit testing helps in increasing the quality of the tests
BY Best Interview Question ON 17 Apr 2019