From the course: Java: Testing with JUnit

What is JUnit?

- [Instructor] All right. So we have been talking about unit testing, other types of testing, but this course is about JUnit. So you might wonder at this point, what is JUnit exactly? Well, JUnit is a unit testing framework for Java, and this means that JUnit contains very many libraries and very many functions and the options for testing the smallest parts of pieces of Java code. Junit is not really a standalone kind of thing, it's part of the xUnit series for all other sorts of languages as well. So there's multiple versions of the unit series that can be used for testing the units of your code, but JUnit is for Java specifically. So what we can do at JUnit is that we can start the automated unit testing very easily and how easily we'll find out very, very soon. Also, JUnit is a must have for TDD using Java. There are other options, but with JUnit life gets so much easier that it's fair to call it a must have. So let's no longer really wait and dive into starting with JUnit in our next video.

Contents