First of all, this article is the beginning of a series which fundamental testing strategies and contains lots of java testing topics. What are the unit and unit testing? Firstly, we need to describe unit keyword. Unit is the smallest structure in software, it is also called function/method, all of this production code contains the business logic. Why should we write unit test? 1. Feel free to add the new feature or refactor