Question: Need of JUnit
Hi sir, What makes JUnit better than other testing tools for Java Unit testing?
It is better to know pros & cons of technology, you are going to learn. So here are some key features which make JUnit better for Unit testing :
1.JUnit tests allow you to write code faster while increasing quality.
2 JUnit is elegantly simple. It is less complex & takes less time.
3 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.
4 JUnit tests can be organized into test suites containing test cases andeven other test suites.
5 Writing JUnit tests is inexpensive.