From the course: Software Testing: Tools

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Dev/Test: Unit testing

Dev/Test: Unit testing

From the course: Software Testing: Tools

Start my 1-month free trial

Dev/Test: Unit testing

- [Instructor] Unit testing is a way of testing the smallest piece of code, or unit, that can be logically isolated within a system's codebase. A unit is the smallest testable part of any software system that has one or more inputs and a single output. This testing is usually performed by the developers of the software and can come in various flavors, depending on the programming language being used for that application. For C# development, there is Nunit. For Java development, there is Junit and TestNG. For C++ development, there is Embunit. And for JavaScript development, there is HtmlUnit, amongst many others. All of these frameworks allow developers, and sometimes software testers, to perform unit testing against the application's codebase.

Contents