Example of Sybok usage
Download dependencies and copy scripts
./gradlew installDist
Navigate to build/install/sybok-example
You can play with scripts execution using run-tests
script
E.g. run all specs
./run-tests.sh
or run single file
./run-tests.sh -f tests/spock/SpockSpec.groovy
Experiment with adding specs Or just run individual spec with wrong feature. Fix it inplace. And rerun:
./run-tests.sh -f tests/spock/SpockSpec.groovy
sed -Ei "s/(.*)(2 \* 2 == 5)(.*)/\12 * 2 == 4\3/g" tests/spock/SpockSpec.groovy
./run-tests.sh -f tests/spock/SpockSpec.groovy