← Tech dictionary
Testing & quality
What is Unit testing?
Unit testing checks the smallest pieces of code, such as one function or class, in isolation, usually with dependencies replaced by mocks. Unit tests are fast and form the base of the testing pyramid.
Learn it properlySoftware engineering tutorials — free, with diagrams, quizzes and a certificate