Definition
The insertion of additional code into the program in order to collect information about program behaviour during program execution.
[Source: BCS]
Comment
Instrumentation can reveal a program’s internal processing that would not normally be visible from a conventional test where the program was run and its inputs and outputs analysed. It can also show how much of the program was tested (and thus how much remains untested).
Also see: White box test


On many programmes and large projects, testing will take up a significant portion of the budget. But it will receive less management attention than an activity of this size warrants.