Unit/component testing

Unit Testing is a level of the software testing process where individual units/components of a software/system are tested. The purpose is to validate that each unit of the software performs as designed.

A unit is the smallest testable part of software. It usually has one or a few inputs and usually a single output. In procedural programming a unit may be an individual program, function, procedure, etc. In object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class. (Some treat a module of an application as a unit. This is to be discouraged as there will probably be many individual units within that module.)

Unit testing frameworks, drivers, stubs and mock or fake objects are used to assist in unit testing.

METHOD
Unit Testing is performed by using the White Box Testing method.
When is it performed?
Unit Testing is the first level of testing and is performed prior to Integration Testing.
Who performs it?
Unit Testing is normally performed by software developers themselves or their peers. In rare cases it may also be performed by independent software testers.
TASKS
    Unit Test Plan

  • Prepare
  • Review
  • Rework
  • Baseline
    Unit Test Cases/Scripts

  • Prepare
  • Review
  • Rework
  • Baseline
    Unit Test

  • Perform
Definition by ISTQB
unit testing: See component testing.
component testing: The testing of individual software components.
  • R@bbIT career fair 2025
    IT students โ€“ itโ€™s time to connect! If tech is your passion and future, you canโ€™t miss this! Join us at the 10th edition of the r@bbIT career fair at West Pomeranian University – an event where
  • Embedded World 2025 recap
    The Embedded World 2025 is now behind us, but the impression remains. A valuable experience of three days filled with meetings and discussions with professionals from diverse sectors, all focused on
  • Embedded World 2025-day 2
    It was a fantastic day one. Are you ready for the second round? Still havenโ€™t visited our booth? Take the opportunity to meet GRYFTEC team on-site, ๐—›๐—ฎ๐—น๐—น ๐Ÿฐ, ๐—ฏ๐—ผ๐—ผ๐˜๐—ต ๐Ÿฐ-๐Ÿฑ๐Ÿฌ๐Ÿญ๐—ฏ.
  • Embedded World Exhibition&Conference 2024Welcome to Embedded World 2025
    We are excited to be back at the Embedded World and ready for three days of networking, cutting-edge innovation, and industry connections. The traffic in the aisles and high energy clearly show a
  • Embedded World Exhibition&Conference 2024The countdown to EW25 begins
    The countdown begins, only a few days until the Embedded World Exhibition&Conference, the biggest event that brings the entire embedded community together. Do you have a new project in mind, need
  • GRYFTECEmbedded Systems Sp. z o.o.
  • ul. 1 Maja 3871-627 Szczecin, Poland
  • + 48 91 85 11 660info@gryftec.com
GRYFTEC Embedded Systems
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.