Skip to content

Latest commit

 

History

History

Java Starter

This directory is a runnable Java provider example for Observer.

Read ../HOWTO.md first if you want the full model.

It is intended to show the whole real process:

  • write ordinary Java code under test
  • author tests with describe(...), test(...), and expect(...)
  • expose them through a tiny Java provider host
  • inspect the raw provider list output
  • derive canonical inventory with observer derive-inventory
  • run a suite against that inventory
  • verify canonical hashes and JSONL output

Useful commands:

make list
make inventory
make host-run TARGET='ledger/rejects-overdraft'
make run
make report
make verify

Compare this directory with ../starter-failure/ once the passing flow is clear.