Skip to content
Reliability dimension

Unit Testing

Validate individual component behavior and edge cases.

Unit validation ensures individual functions and components work correctly in isolation-edge cases, error conditions, boundary values. The foundation of reliable systems.

Runs as

Unit tests

Testing focus

Unit Reliability

What this validation covers

Structured capability coverage for teams that need repeatable signal instead of brittle scripts and one-off audits.

Runs your repository’s own unit tests
Runs them at the change’s commit
Reports which tests fail

Why teams need it

Writing good unit tests is hard. Developers write happy path tests, miss edge cases, and leave error handling untested. Code coverage metrics create false confidence-covered code isn't necessarily correctly tested.

How Zof runs it today

Zof runs unit testing from the console’s test catalog, where it is listed as “Unit tests”. It is advisory: its results stay in the console and can’t be a required check or release evidence. It can run on a pull request or on demand. It can’t be scheduled.

Failure modes it catches

Edge cases causing incorrect behavior

Boundary values handled incorrectly

Error conditions not properly caught

Null/undefined handling gaps

Type coercion issues

Off-by-one errors in loops and ranges

Business impact

Build reliable foundations

Catch logic errors early

Ship individual components with confidence

Next step

See unit testing in your own environment

Map this validation stream into your existing release process, security controls, and engineering workflows before the next change ships.

Verification Engine

What must be proven before this action can be trusted?

Zof combines deterministic tools, specialized verification systems, customer-defined checks, and approved AI models under one verification architecture, and selects the evidence each change requires.

Demo data

  1. Checks runThe smoke test and the API contract test pass, but a unit test fails: refunding 3 × €3.33 gives €10.00, not €9.99.
  2. Release blockedThe unit tests are a required check, so the release of PR #4868 is blocked.
  3. Fix proposedFinding F-2238 opens with a fix proposed by the agent: sum first, round once. It waits for review.

COVERAGE
Test agents, some advisory
From unit tests to stress, security, and compliance.
SELECTION
Change · graph · risk · policy
The right evidence, not every test every time.
SOURCES
Tools, systems, models
Deterministic first; AI reasoning where approved.