Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Files

All files related to testing should be places inside the related project source in the testing directory.

Test scripts file names should all use the template test-<project>.sh and be lower case.

Files when using run_tests()

When using run_tests() all those tests should be placed inside a directory named test.d inside the testing directory.

Test scripts file names when using run_tests() must be called test.sh and placed in a directory inside the test.d and that directory should have an appropriated name regarding the test:

testing/test-project.sh
testing/test.d/00-simple-test/test.sh
testing/test.d/10-simple-test2/test.sh

Test example / templates

Here are some test examples and/or templates.