What is "unit-testing"
Of Wikipedia:
Unit testing is a method by which individual units of source code, sets of one or more computer program modules, together with associated control data, use procedures and operating procedures, are tested to determine if they are fit for use. Intuitively, one can see a unit as the smallest testable part of an application. In procedural programming a unit may be an entire module, but is more commonly an individual function or procedure. In object-oriented programming, the unit is often an entire interface, such as a class, but could be an individual method. Unit tests are created by programmers or occasionally by "white box" (white box) testers during the development process.
The ideal is that each one test case is independent from the others: substitutes as method stubs, mock Objects, fakes and test Harnesses may be used to assist in testing a module on its own. Unit tests are typically written and run by software developers to ensure that the code meets your project and behaves as it should.Wikipedia
The unit test is closely related to Test Driven Development.
External links