Skip to content
Agent YAP

What is it?

Unit test

A unit test is a small piece of code that automatically checks whether some part of a program behaves correctly, by running it on a known input and confirming the output is as expected. Projects accumulate many unit tests so they can catch mistakes automatically. Unit tests are what make software such a clean thing to grade: a fix either makes the relevant tests pass or it does not, no human judgment required.

From the Benchmarks glossary

Where Unit test is explained

  1. The Building Blocks of Agentic IntelligenceAgentic RAG · The four core agentic patterns
  2. SWE-bench, Can a Model Fix a Real Bug in Real Code?Benchmarks · The problem it solves

Every term, A to Z