chore: add framework for various integration tests

This commit is contained in:
Nils Knappmeier
2019-08-31 13:18:47 +02:00
parent 16572cd848
commit f9cce4dd02
17 changed files with 94 additions and 134 deletions
+12
View File
@@ -0,0 +1,12 @@
Add a new integration test by creating a new subfolder
Add a file "test.sh" to that runs the test. "test.sh" should exit with a non-zero exit code
and display an error message, if something goes wrong.
* An integration test should reflect real-world setups that use handlebars.
* It should compile a minimal template and compare the output to an expected output.
* It should use "../.." as dependency for Handlebars so that the currently built library is used.
Currently, integration tests are only running on Linux, especially in travis-ci.