Unit Test

Unit tests are tests that verify how a coherent piece of code work. The piece of code may be limited to one class, but it may also encompass related code, as long as it does not create a dependency.

Documentation

See also PHPUnit.

Related : Test, Integration Test, Edge Case, End To End Test, Mutation Testing