In this module, you will see how unit testing (via JUnit) allows you to specify an expected output so that you can compare the actual output to an expected output. At its core, this is what unit testing is about. Note that when we create a unit test for a program called Foo.java, Junit via Eclipse creates a separate test class called FooTest. This class is used to isolate your testing from your code.
Негізгі бет Junit Basics
Пікірлер