NEW: English for Tech Bundle → Save 40%
Your progress

Loading your progress…

Home
Code & Deliverynoun · /ˈjuː.nɪt test/

unit test

In simple English

Unit tests are a fundamental practice in modern software development. They are written by developers to test individual components of their code before those components are integrated with other parts of the system. A unit test typically follows the pattern of setting up test data, calling a function, and checking that the result matches expectations. Unit tests are fast, focused, and run automatically as part of the build process. They help catch bugs early, make refactoring safer, and serve as documentation for how code should behave. In most tech companies, writing unit tests is considered essential practice and is often part of code review standards.

Understand what unit tests are, why they matter, and how to write them.

At a glanceCEFR B2
Commonness5/5
Versatility4/5
FormalityCasualFormalNeutral
Spoken ↔ WrittenSpokenWrittenBoth
Directness ↔ DiplomaticDirectDiplomaticDirect
RegionUS and UK
New app · Free lessons

Speak up in meetings. Feel confident.

Standup vocabulary, native examples, and quick practice — 100+ free lessons

Start learning freeNo card needed · Google or email

Say it like this

Write unit tests for this function
The unit tests are failing
We have good unit test coverage

Real examples

in a standup

"I spent yesterday writing unit tests for the login module and got 95% coverage."

in a code review

"This is good work, but I do not see unit tests. Can you add tests for the new calculateDiscount function?"

in a team meeting

"Our unit tests caught a critical bug in the payment processor before it reached production."

Don't say this

Handle with care. Do not confuse unit tests with integration tests or end-to-end tests, which test larger components. Unit tests focus on individual functions or methods in isolation.

We unit test the entire system.
We wrote unit tests for the individual functions.Unit tests are for small, isolated pieces of code, not entire systems. Use integration tests or end-to-end tests for larger scopes.
I am running unit test right now.
I am running the unit tests right now.Unit tests are typically run as a set or suite, so use plural form or specify which tests you mean.
The unit test is not passing because the server is down.
The unit test is failing because the server is down.Use fail or failing rather than not passing when discussing test results.

Other forms

noun

unit test

"Write a unit test for the calculateTotal function."

noun (plural)

unit tests

"All unit tests must pass before merging."

verb phrase

write unit tests

"We need to write unit tests for edge cases."

verb phrase

run unit tests

"The CI pipeline runs unit tests automatically."

Often used with

write unit testsThe most common action; developers write tests for their code
run unit testsExecute tests; often done automatically in CI/CD pipelines
unit test coverageThe percentage of code covered by tests; aim for high coverage
unit test frameworkTools like JUnit, pytest, Jest used to write and run tests
unit tests fail/passTests produce results indicating success or failure

Similar words

unit testingThe process or activity of writing and running unit tests
atomic testLess common term for a test of a single isolated component

Opposites

integration testend-to-end testmanual test

Practice

Try it

4 quick exercises

Pick the most natural phrasing

1. What would a developer say when starting work on a new function?

Complete the sentence

2. Our CI pipeline automatically _______ the unit tests whenever we push code.

Spot the mistake

3. Which sentence uses unit test incorrectly?

Rewrite naturally

4. Rewrite using unit test: 'Before we send this code, we should check that each small piece works correctly by itself.'

Questions

Quick poll

Have you said "unit test" in a standup this week?

Want more structured practice like this? Our English for Programmers course covers real workplace English in depth.

Your badges