3 ms·
Was 'unit' originally intended to be a test you could run in isolation? I don't think so. I'm not an expert in testing history, but this Dec 2000 Software Quali
by acidburnNSA 3y ago
Was 'unit' originally intended to be a test you could run in isolation? I don't think so. I'm not an expert in testing history, but this Dec 2000 Software Quality Assurance guide from the Nuclear Regulatory Commission defines Unit Testing as:
> Unit Testing - It is defined as testing of a unit of software such as a subroutine that can be compiled or assembled. The unit is relatively small; e.g., on the order of 100 lines. A separate driver is designed and implemented in order to test the unit in the range of its applicability.
NUREG-1737 https://www.nrc.gov/docs/ML0101/ML010170081.pdf https://www.nrc.gov/docs/ML0101/ML010170081.pdf
Going back, this 1993 nuclear guidance has simililar language:
> A unit of software is an element of the software design
that can be compiled or assembled and is relatively small
(e.g., 100 lines of high-order language code). Require that
each software unit be separately tested.
NUREG/BR-0167 https://www.nrc.gov/docs/ML0127/ML012750471.pdf https://www.nrc.gov/docs/ML0127/ML012750471.pdf
- voiceofunreason 3y agoSee also: ANSI/IEEE 1008-1987