All terms
App Building & Devintermediate

Unit Test

Definition

A small automated test that checks one specific piece of code works correctly on its own.

Why it matters

Unit tests catch bugs early and give your team confidence to change code without breaking things.

Example

A unit test confirms that a discount function correctly takes 10% off a price.

Related terms

Learn the language of business - and build the systems behind it.

Rich Girl Systems turns 1168+ founder concepts into a step-by-step programme with daily challenges, XP and your own assistant.

Take the free founder quiz