ToolsBeginner

Unit test

Also known as unit testing

A test focused on a small unit of behavior, with a narrow scope and controlled dependencies.

In the real world

Test that normalizeTerm(' React ') returns 'react' without starting a browser or server.

Related

Go a little deeper