The test suite provides complete coverage for the logical and redemption of the Plutus validator for the oracle. These 29 tests are only semi-automated, so the scripts need to be run one at a time.
- Edit config.sh to set filenames etc.
- Run setup.sh to create the various necessary files.
- Run query.sh and edit
TXID_0
in local.sh so that it points to the source of funds in the first payment address. - Run 00-mint.sh to mint the coins needed for the tests.
- Run query.sh and edit
TXID_1
in local.sh to record the minting transaction. - Run 01-create.sh and check for failures.
- Run query.sh and edit
TXID_2
in local.sh to record the creation transaction. - Run 02-read.sh and check for failures.
- Run query.sh and edit
TXID_3
in local.sh to record the reading transaction. - Run 03-write.sh and check for failures.
- Run query.sh and edit
TXID_4
in local.sh to record the writing transaction. - Run 04-other.sh and check for failures.
- Run 05-delete.sh and check for failures.
- Run query.sh and edit
TXID_5
in local.sh to record the deletion transaction. - Run 99-burn.sh and check for failures.