Pcornel
Browse topics
Options
Recent
Favorites
Evidence · observation

Unit Testing testing evidence

Automation · Unit Testing

Expected observation

Healthy evidence: tests are fast, deterministic, boundary-focused and fail for behavior changes rather than environmental noise. Suspicious evidence: unit tests require live infrastructure, overfit implementation details or use mocks that encode an incorrect external contract.

Intended proof boundary

Correlated automation evidence can establish this testing path and its current proof boundary: unit contract → controlled inputs → isolated dependency behavior → execution → output/error assertions → edge cases → handoff to integration tests

Does not prove

It does not independently prove behavior or state outside the explicit criteria, test scope, evidence sources and observation window. Unit Testing proves local logic under controlled dependencies; it cannot prove external contracts, deployment wiring, permissions or end-to-end state changes.

Next discriminating check

Continue from the first unproven behavior boundary: preserve the exact failing revision, case, oracle, fixture and environment; reproduce without widening scope; inspect raw observations and dependency contracts; then verify effective target/workload state before changing expectations, retrying broadly or declaring a flaky test.

1ObservationExpected observation; record actual output separately.
→
2Inference boundaryOnly what the observation directly supports.
→
3Non-proof boundaryWhat still remains unproven.
→
4Next checkThe next discriminating observation.
Documentation structureReference completenessexpected observation documented · intended proof boundary documented · non-proof boundary documented · next check documented · source reference supplied
Source referencePcornel evidence-first Validation/Testing modelSource presence does not itself prove technical correctness.
Verification closure

Use this Evidence to decide the next boundary, not to skip the original test

Observation → proof/non-proof boundary → next discriminating check → minimum controlled change → repeat the original workload/test → adjacent/return-path regression check where relevant.

Capture / filter

requirement/risk + source revision + test case/suite/oracle + fixture/mock/contract revision + environment/tool/dependency versions + target IDs + run/correlation IDs + raw result/error + effective state/workload assertion + cleanup + retry/flaky status + coverage limits
Reference statusEvidence reference · unreviewed · Source reference
Reference completenessEvidence reference · 100/100
Freshnessunreviewed
ProvenanceSource reference
Collection costLow

Evidence reference. Completeness measures filled reference fields, not a captured result, source correctness or confidence in live operation. Review freshness is shown separately. Record actual output, target, scope and time before drawing an operational conclusion.

Confirmation

Confirm action

Continue?