Skip to main content

Use this tag for code whose main focus is high-performance testing of the actual functional code.


Unit testing is a method by which individual units of source code are tested to determine if they are fit for use.

Ideally, each test case is independent from the others: substitutes like method stubs, mock objects, fakes and test harnesses can be used to assist testing a module in isolation. Unit tests are typically written and run by software developers to ensure that code meets its design and behaves as intended.Wikipedia


  • Black-box testing

is a method of software testing that examines the functionality of an application without peering into its internal structures or workings

  • White-box testing

is a method of software testing that tests internal structures or workings of an application, as opposed to its functionality

See Also