What is unit testing?

Connor Brereton
2 min readMay 18, 2021
Source

According to hackerdictionary.com a unit test is where individual components of a program are tested for their functionality. Each function is checked and run to make sure that it works properly rather than testing the entire application itself all at once.

hackerdictionary.com

Let’s dive a little deeper…

Unit testing is a software testing method in which specific software systems, such as groups of computer program modules, usage procedures, and operating procedures, are checked to see whether they are fit for use. It is a testing approach in which each individual module is checked by the developer to see whether there are any issues. It is linked to the individual modules’ functional correctness.

  • Unit testing is a form of software testing in which individual software components are evaluated.
  • During the creation of an application, unit testing of software products is performed.
  • A single component may be a single function or a single process. The developer is usually the one who performs unit testing.

Unit testing is the first phase of testing performed before integration testing in the SDLC or V Model. Unit…

--

--