• Software Testing Dictionary
  • Home

Unit Testing


What is Unit Testing?

Unit testing, a testing technique using which individual modules are tested to determine if there are any issues by the developer himself. It is concerned with functional correctness of the standalone modules.

The main aim is to isolate each unit of the system to identify, analyze and fix the defects.

Unit Testing - Advantages:

  • Reduces Defects in the Newly developed features or reduces bugs when changing the existing functionality.

  • Reduces Cost of Testing as defects are captured in very early phase.

  • Improves design and allows better refactoring of code.

  • Unit Tests, when integrated with build gives the quality of the build as well.

Unit Testing LifeCyle:

Unit testing in Test Life Cycle

Unit Testing Techniques:

  • Black Box Testing - Using which the user interface, input and output are tested.

  • White Box Testing - used to test each one of those functions behaviour is tested.

  • Gray Box Testing - Used to execute tests, risks and assessment methods.

Useful Video Courses


Software Engineering Basics

80 Lectures 7.5 hours

Arnab Chakraborty


The Perfect Open Broadcaster Software Recording Studio

10 Lectures 1 hours

Zach Miller


SEO Keyword Research Made Easy + FREE Research Software

17 Lectures 1.5 hours

Zach Miller


How To Startup Your Own SaaS (Software As a Service) Company

60 Lectures 5 hours

John Shea


Software development in Python: A practical approach

Most Popular

99 Lectures 10 hours

Daniel IT


Software Development Processes (SDLC Models)

62 Lectures 5 hours