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.
  • Perły biznesu 2024
    We are proud to announce that our CEO, Jerzy Piescikowski has been distinguished as Business Personality in the prestigious business competition organized by Świat Biznesu, the economic magazine of
  • Save the date for EW25!
    Need expert support for your project? Visit our booth during Embedded World and discover how we can improve your project with end-to-end solutions customized to your needs. With experience in 𝐜𝐨𝐦𝐩𝐥𝐞𝐱
  • Merry Christmas and a good start to the New Year 2025
    Best wishes for a joyous Christmas filled with happiness and prosperity! As the end of the year approaches, we want to thank our clients, partners, and friends for another great year. We sincerely
  • Rowing Ergometer Championships
    After the success of last year’s participation in the Rowing Ergometer Championships in Szczecin, two relay teams represented GRYFTEC at this year’s event. The competition was tough, but our
  • Career fair-Politechnika Morska
    Join us at the career fair at Politechnika Morska w Szczecinie. Whether you’re looking for an internship or prepared to start your engineering career, we have something for you!  find the right
  • GRYFTECEmbedded Systems Sp. z o.o.
  • ul. 1 Maja 3871-627 Szczecin, Poland
  • + 48 91 85 11 660info@gryftec.com