#Emender Tests
A generic set of tests using Emender.
These folders containers a set of generic tests that can be re-used and/or modified for use with asciidoctor or docbook projects who want to integrate emender.
This folder contains a Dockerfile and supporting scripts to run all the provided tests against a set of example content. You find more details on installing and configuring docker here.
To run the test:
- Change to the test directory.
$ cd test/
- Run the
build.shscript to build a new docker image withemender-tests:
$ ./build.sh
- Edit the
runAllTests.shfile and replace the value of theREPO_PATHvariable with the absolute path to theemender-testsdirectory, for example:
REPO_PATH="/home/rhoads-zach/emender-tests"
- Run the
runAllTests.shscripts to verify that provided Emender tests work as expected:
$ ./runAllTests.sh