sanity-checkcode
nounUK /ˈsænəti tʃek kəʊd/
US /ˈsænəti tʃek koʊd/
A sanity-checkcode is a small test that makes sure a program works right.
Before sharing the game, she ran a sanity-checkcode to see if it still worked.
OTHER MEANINGS
2. A short piece of code that checks whether data looks correct before it is used.
The sanity-checkcode caught the empty name field before the form was sent.
3. A simple check a programmer adds to confirm a program is still running as expected.
He added a sanity-checkcode at the start of the script to print a friendly hello.
4. A fast first test used to decide whether more detailed testing is needed.
The sanity-checkcode passed, so the team moved on to the full test suite.