Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 860 Bytes

File metadata and controls

42 lines (28 loc) · 860 Bytes

Single-Test Strategy

This example shows the narrow case where one Observer target is still the right shape.

That is only correct when the target is one real externally meaningful proof unit.

In this example, the target is:

  • compiler/emits-canonical-json

That target is not a wrapper script. It is an explicit proof that the toy compiler emits the expected canonical representation for one fixed module.

Layout

single-test-strategy/
  Makefile
  observer.toml
  tests.obs
  src/
    toy_compiler.py
    compiler_observer_host.py

Fast Path

make list
make inventory
make run
make report

Why This Is Acceptable

One target is acceptable here because there is one clear proof unit.

What would be wrong is replacing that with a target like:

  • python-wrapper-ran

The target must still name the real product behavior.