HILSTER Glossary

Testing terms, clearly explained.

From hardware-in-the-loop to continuous integration: the key terms in test automation, embedded and system testing, explained briefly and practically.

A

Acceptance test

An acceptance test checks whether a product meets the agreed requirements and can be accepted by the customer or user. It is the final test level before delivery.

Test levels and methods

B

Black-box testing

Black-box testing checks a system only through its interfaces, without knowledge of its internal structure. Its counterpart is white-box testing, which deliberately exercises the code and its structure.

Test levels and methods
Boundary value analysis

Boundary value analysis is a technique for deriving test cases that deliberately checks values at and just beside the limits of an allowed range, because that is where many defects hide.

Test levels and methods
Breakout box

A breakout box is connected between the device under test and its wiring harness or test bench and makes every signal line individually accessible, for measuring, disconnecting or injecting faults.

Embedded and systems

C

Closed-loop testing

In closed-loop testing, the simulated environment continuously reacts to the outputs of the device under test, forming a closed control loop. Open-loop testing instead plays back fixed inputs without feedback.

Embedded and systems
Confirmation testing

Confirmation testing checks after a fix whether a reported defect has actually been resolved. It repeats exactly the test that originally found the defect.

Test levels and methods
Continuous integrationCI

Continuous integration is a way of working in which changes are merged into a shared codebase several times a day and automatically built and tested each time.

Process and automation
Controller Area NetworkCAN

CAN is a serial bus system that lets control units exchange messages robustly and in real time. It is the standard in vehicles and widely used in industry and medical technology.

Embedded and systems

D

Decision table testing

Decision table testing records combinations of conditions and the expected actions for each in a table. Every column of the table becomes a test case.

Test levels and methods
Defect

A defect is a flaw in code, hardware or documentation that can cause a system to not work as required. Testing terminology distinguishes it from the error that caused it and the failure it produces.

Process and automation
Device under testDUT

The device under test is the object being checked in a test: a device, an assembly, a control unit or a piece of software.

Embedded and systems

E

Electronic control unitECU

An electronic control unit is a device with a microcontroller and firmware that reads sensors and drives actuators, for example in vehicles, machines or medical devices.

Embedded and systems
Embedded testing

Embedded testing covers all testing of software that runs on embedded systems: microcontrollers and control units with limited resources and a direct connection to hardware.

Embedded and systems
End-of-line testEOL

The end-of-line test is the final check of every single unit at the end of the production line. It ensures that the manufactured unit is assembled correctly and works.

Test levels and methods
End-to-end testE2E

An end-to-end test checks a complete workflow from the user’s point of view, from the first step to the result, across all components involved.

Test levels and methods
Equivalence partitioning

Equivalence partitioning divides possible inputs into groups that the system should treat the same way. Only one representative from each group is tested.

Test levels and methods
Exit criteria

Exit criteria define the conditions under which a test activity is considered complete, for example reaching a coverage target, having no open critical defects or passing all acceptance tests.

Process and automation
Exploratory testing

In exploratory testing, testers design, run and evaluate tests at the same time. Instead of working through pre-written test cases, they explore the system deliberately and learn where it is weak along the way.

Test levels and methods

F

Fault injection

Fault injection means deliberately introducing faults into a system, such as short circuits, signal loss or corrupted messages, to check that it detects them and responds safely.

Embedded and systems
Flaky test

A flaky test is an unstable test that sometimes passes and sometimes fails without any change to the code, for example because of timing, ordering or external influences.

Process and automation
Flashing

Flashing means programming firmware into the non-volatile flash memory of a microcontroller or control unit, through a debug interface, a bootloader or a diagnostic protocol.

Embedded and systems
Functional Mock-up InterfaceFMI

FMI is an open standard for exchanging simulation models between tools. A model is exported as a Functional Mock-up Unit (FMU) and can then be run in other environments.

Embedded and systems
Functional safety

Functional safety is the part of a system’s overall safety that depends on electronics and software working correctly, or reaching a safe state when they fail.

Process and automation

H

Hardware-in-the-loopHiL

Hardware-in-the-loop is a test method in which a real control unit or embedded system is tested against a simulated environment that reacts to its outputs in real time.

Embedded and systems

I

Integration test

An integration test checks whether several components, modules or systems work together correctly, especially at their interfaces.

Test levels and methods

J

JTAG

JTAG is a standardised interface under IEEE 1149.1 for debugging and programming microcontrollers and for testing circuit boards via boundary scan. On ARM processors the leaner SWD variant is widespread.

Embedded and systems

L

Load simulation

Load simulation replaces the loads a control unit drives in the real system, such as motors, valves or lamps, with real or electronically simulated loads on the test bench.

Embedded and systems
Local Interconnect NetworkLIN

LIN is a low-cost single-wire bus that lets a control unit connect simple sensors and actuators such as window lifters, mirrors or fans. One master sets the schedule, the slaves respond.

Embedded and systems

M

Model-in-the-loopMiL

Model-in-the-loop refers to tests in which a functional model, such as a controller in Simulink, is simulated together with a model of its environment before any code exists.

Embedded and systems

N

Non-functional testing

Non-functional testing checks not what a system does, but how well it does it: for example performance, load, reliability, security, usability or energy consumption.

Test levels and methods

P

Plant model

A plant model is a simulation of the physical system a controller regulates, such as a motor, a heating circuit or a vehicle. It gives the device under test realistic feedback.

Embedded and systems
Processor-in-the-loopPiL

In processor-in-the-loop testing, the compiled production code runs on the real target processor or an equivalent board, while the environment and plant are still simulated on a PC.

Embedded and systems

R

Real-time simulation

A real-time simulation is guaranteed to compute every simulation step within a fixed period, so that simulated and real time stay in sync. It is a prerequisite for connecting real hardware to a simulation.

Embedded and systems
Regression test

A regression test makes sure that features which already worked still work after a change, so that old bugs do not return and no new side effects appear.

Test levels and methods
Residual bus simulation

Residual bus simulation simulates every bus node that is missing from the test setup, so that a control unit sees the communication it expects in the complete system.

Embedded and systems
Risk-based testing

In risk-based testing, the scope, order and depth of testing are guided by how likely a failure is and how much damage it would cause.

Process and automation

S

Shift-left testing

Shift-left means testing as early as possible in the development process, instead of bundling tests at the end before delivery. Defects are found earlier and more cheaply as a result.

Process and automation
Smoke test

A smoke test is a short, broad check of the most important basic functions that shows whether a build or device runs at all and whether further testing makes sense.

Test levels and methods
Software-in-the-loopSiL

In software-in-the-loop testing, the production code of an embedded system runs on a PC or server and is tested against a simulated environment, with no target hardware involved.

Embedded and systems
State transition testing

State transition testing derives test cases from a state model: it checks that the system reacts correctly to events in every state and moves to the right next state.

Test levels and methods
Static testing

Static testing examines code, requirements or other documents without executing the software, for example through reviews or tool-based static analysis.

Test levels and methods
System test

A system test checks the fully integrated product against its requirements, from the point of view of users and environment, without looking at its internal structure.

Test levels and methods

T

Test automation

Test automation means running and evaluating tests with software instead of clicking through them or reading values by hand, so they run quickly, repeatably and traceably.

Process and automation
Test bench

A test bench is a setup on which a device or assembly is operated with defined inputs and measured reproducibly, either manually or automatically.

Embedded and systems
Test case

A test case describes a single check: initial state, inputs or steps, and the expected result. It is the smallest plannable unit of testing.

Test levels and methods
Test coverage

Test coverage measures what share of a system is checked by tests, for example lines of code, branches or requirements.

Process and automation
Test double

A test double is a stand-in that takes the place of a real dependency in a test, such as a database, a network service or a hardware driver. Well-known forms are mocks, stubs and fakes.

Test levels and methods
Test environment

The test environment comprises everything besides the device under test that a test needs: hardware, software, network, tools, configuration and test data.

Embedded and systems
Test fixture

A test fixture creates the mechanical and electrical connection between the device under test and the test system, for example via connectors, spring-loaded pins or a bed of nails, quickly, safely and reproducibly.

Embedded and systems
Test oracle

A test oracle is the source used to determine a test’s expected result, such as a specification, a reference system, a model or an expert’s domain knowledge.

Test levels and methods
Test pyramid

The test pyramid is a model for a balanced test suite: many fast unit tests as a broad base, fewer integration tests above them and a few slow end-to-end tests at the top.

Test levels and methods
Test report

A test report documents what was tested, with what result and under which conditions. It is the basis for release decisions and for evidence towards customers or authorities.

Process and automation
Test strategy

A test strategy defines what is tested, by which means, at which test level and to what extent. It ties risks, test levels, tools and responsibilities into one plan.

Process and automation
Test-driven developmentTDD

In test-driven development, a test describing the desired behaviour is written first and initially fails. Only then is the code written that makes it pass.

Process and automation
Traceability

Traceability is the documented link between requirements, design, code, test cases and test results, followed in both directions.

Process and automation

U

Unified Diagnostic ServicesUDS

UDS is the standard diagnostic protocol for control units under ISO 14229. It is used to read fault memory, query data, run routines and flash software.

Embedded and systems
Unit test

A unit test checks the smallest testable unit of software, such as a function or class, in isolation from its dependencies and automatically within milliseconds.

Test levels and methods

V

V-model

The V-model is a development process model that pairs every design stage, from requirements to code, with a matching test level, from unit test to acceptance test.

Test levels and methods
Virtual ECUvECU

A virtual ECU is a control unit’s software prepared to run without the real hardware, on a PC or in the cloud. It is the basis for software-in-the-loop testing of complete control units.

Embedded and systems

X

XCP

XCP is an ASAM standard protocol for measuring internal variables of a running control unit and adjusting parameters without rebuilding the firmware. The variables are described in an A2L file.

Embedded and systems