Unit testing is a practice that developers use to test their code modules in isolation to make sure that each module does what it's supposed to. JUnit is an Open Source framework which helps in unit testing, specifically coded on the Java platform. Developers just have to determine the test cases and create JUnit tests for their code modules.
In a typical setup, developers don't prefer this added burden of unit-testing on their shoulders, as they feel that this should be done by the testing division. They often overlook the benefits of doing unit-testing at developmental stage, because it requires too much work. This used to make it extremely difficult to convince developers to do unit-testing at their end.