#Emender Tests
A generic set of tests using Emender.
Asciidoctor Tests and Docbook Tests
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.
Test
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.sh
script to build a new docker image withemender-tests
:
$ ./build.sh
- Edit the
runAllTests.sh
file and replace the value of theREPO_PATH
variable with the absolute path to theemender-tests
directory, for example:
REPO_PATH="/home/rhoads-zach/emender-tests"
- Run the
runAllTests.sh
scripts to verify that provided Emender tests work as expected:
$ ./runAllTests.sh