Introduction to JUnit

Junit is the most popular unit testing frameworks in Java world. Key features of JUnit framework are given below.
  • Popular unit testing framework
  • Based on Test Driven Development
  • provides test fixtures allowing us to execute code for initialization and clean up
  • Support in all major IDEs like Eclipse, Intellij IDEA etc
  • Integrates seamlessly with build tools like Maven and Gradle
  • Tests can be categorized and run in groups
  • Tests can be ignored, timed and ordered to execute
Complex problems, Simple Solutions