-
Notifications
You must be signed in to change notification settings - Fork 0
Running Test Plans
Test plans are available under the tests/ subdirectory in the project. Each test plan has a unique directory of its own with csv data files for each of the input data tables.
The expected output of the test plans are available in files under the tests/expects subdirectory. The expect files have the naming convention testXXXX.expect.
The Makefile has commands to simplify the running of test plans. To run all the test plans, you can invoke the following command from the root directory of the project:
make tests
All of the tests are run one by one with a pass/fail message printed to the screen. If a test plan fails, then you can check its output by looking at the tests/outputs/testXXXX.out file and comparing it with the tests/expects/testXXXX.expect file.
Once the number of test plans gets to be large, it is possible that you want to test only a single test plan while making code changes. For this, you can use the following command to run only test0009:
make TESTNAME=test0009 tests
For more details on the test plans that are included with this project:
- Download or clone the master branch of this project
- Navigate to the root folder of the project
- Use your favorite browser to open the html file name tests/index.html