self-testcode

noun
UK /ˌself ˈtestkəʊd/
US /ˌself ˈtestkoʊd/

A code that checks itself to make sure it works.

The program runs a self-testcode every time it starts up.


OTHER MEANINGS

2. A small piece of code that tests another piece of code.

She wrote a self-testcode to catch bugs early.

3. A hidden routine that confirms a device is working before use.

The printer's self-testcode printed a sample page.

4. A quick check a program does on its own data.

The app's self-testcode found a broken file and fixed it.