Skip to content

Running Ordt Tests

Scott Nellenbach edited this page Nov 17, 2019 · 2 revisions

A simple test framework is available via bash scripts available in the test/scripts directory (testing under native windows shell is not supported currently)

Basic ordt tests are found in the test/basic_tests directory. For each test the following 3 checks are performed:

  1. verify that ordt returns no errors
  2. diff generated output with each output file in the golden directory
  3. insure executables run on specified outputs (defined in test.setup) return no errors

To run tests, the ...test/scripts directory should be added to the exec PATH. Tests must be run using Java 1.8. Also, a test.setup file defining location of the ordt executable and specific execs/error checks to be run should be added to your local scripts directory (do not add to git repo).

Available scripts...

  • runall: runs all tests in the current directory (eg tests/basic_tests)

...tbd