Skip to content

IETS001: tests_exist

A test directory exists for the evaluation.

Category: tests ยท Applies to: eval

What it does

Looks for <tests-root>/<name>/. With tests-layout = "flat" test files directly under <tests-root>/ are accepted when that directory is absent, as single-evaluation repositories usually have.

Why is this bad?

An evaluation with no tests at all has never been run against the mock model, so nothing guards its wiring.

Options

  • tests-root
  • tests-layout

Suppress on a line with # inspect-evals-lint: ignore[IETS001] or ignore[tests_exist]; select or ignore it in configuration by either, or by the prefix IETS.