Unit test

noun phrase

A test that verifies a single, isolated piece of functionality (a function, a method) in isolation from the rest of the system. The fastest and most granular type of test.

"The unit test mocks the database and covers all edge cases — zero items, one item, and the maximum page size."