-
Notifications
You must be signed in to change notification settings - Fork 70
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:
- verify that ordt returns no errors
- diff generated output with each output file in the golden directory
- 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
Home
Running Ordt
Building Ordt from source
Running Ordt Tests
Source contributions
Ordt Inputs
Ordt Outputs