Skip to content

Coding & Software AI

Unit test

A small automated test that checks one function or component in isolation.

Example

A unit test checks that one pricing function returns the expected result for a discount.

Why people use it

Understanding “Unit test” helps teams use AI without losing sound software-engineering discipline.

What you'll hear

“Can Unit test help us build or review this without creating more cleanup later?”

Related terms