Make sure you have an lto-node
docker environment up and running in test
mode
using docker-compose.
- Linux or MacOS
- PHP >= 7.2
- composer
Other requirement are configured through composer.
Using the base58 php extension will make the tester a lot faster.
Edit lctest.behat.yml
to configure how to connect to the LTO webserver.
In the terminal
git clone https://github.com/legalthings/livecontracts-tester.git
cd livecontracts-tester
composer install
Add the bin
dir to your $PATH
to run the command
$PATH="$PATH:/path/to/livecontracts-tester/bin"
cd my-workflows
lctest
Run lctest --help
for more options.