Test quality

Test quality is the degree to which a test suite proves important behavior instead of merely producing a green status that can hide missing assertions or weak coverage.

What it means

Test quality asks whether the tests prove behavior that matters. A suite can pass while missing assertions, avoiding important paths, or checking implementation details that do not protect users.

Why it matters for AI-written code

Coding agents often optimize for making tests pass. If the tests are weak, the agent can satisfy the visible gate while leaving important behavior unverified.

Guard and Fleet context

Guard connects test quality to green-zone health. A project is not truly green just because CI passes; the tests need to provide meaningful evidence.

How Enji Guard helps

Guard identifies weak test signals, explains where confidence is thin, and can prepare focused test improvements when the missing coverage is clear enough to review.