Files
lincodex/.agents/standards/testing.md
T
2026-10-05 14:23:31 +03:00

1.3 KiB

Testing standard

Choose checks from the changed boundary and the evidence the task needs. Do not run unrelated suites just because a command exists.

Use unit tests for domain and application behavior, component tests for frontend behavior, and service tests for ML HTTP and schema behavior. Use integration tests with an isolated PostgreSQL when a change depends on migrations, SQL, transactions, or the real router-to-database path.

Contract changes need bundle and lint checks, regeneration of affected consumers, and generated drift checks. Infrastructure changes need rendered Compose configuration and the validator for each changed monitoring or deployment file.

The technical deployment smoke checks service routes and infrastructure readiness. It does not validate a candidate or employer workflow. The deploy test-e2e target is reserved and currently fails with a deferred message until the business-flow suite exists.

Do not report ranking accuracy, assessment validity, production latency, load capacity, privacy correctness, or model quality without the corresponding measured test and its dataset, environment, and limits. Planned targets and synthetic examples are not results.

Report each relevant check as passed, failed, skipped, or unavailable. Preserve the command and the reason when a check cannot run.