Skip to content

input-output-hk/ptt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes for POC test (using it against minimal-ptt-examples)

  1. clone into a folder the repo https://github.com/input-output-hk/minimal-ptt-examples.git

  2. enter that folder

    2.1 git checkout escrow-node-emulator

    2.2 nix develop .

    2.3 cabal build escrow

    2.4 cabal run escrow-test

  3. go back to this repo folder

    3.1 to separate building output before running the tool cabal build

    3.2 cabal run ptt-cli -- --project-path=<MINIMAL_EXAMPLES_PATH> list-tests

Running the tests:

all tests

eg: cabal run ptt-cli -- --project-path=/Users/.../iog/minimal-ptt-examples-new run-tests

single test

eg: cabal run ptt-cli -- --project-path=/Users/.../iog/minimal-ptt-examples-new run-tests --test "use cases.escrow.can pay"

multiple tests based on a pattern

eg: cabal run ptt-cli -- --project-path=/Users/.../iog/minimal-ptt-examples-new run-tests --pattern "can redeem"

About

Plinth Testing Tool using the Contract Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published