test
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Directory to hold unit testing files. TO RUN AND CHECK ALL LEVEL01 AND LEVEL02: edit suite.py to assign xlagrit to executable ./suite.py -f grep successful */diffout*txt level01/diffout_lin.txt:All 31 successful! level02/diffout_lin.txt:All 4 successful! TO RUN AND CHECK LEVEL01 OR LEVEL02: cd [level01 or level02] edit run_test.py to assign xlagrit to executable clean_testdirs.scr ; run_test.py ; check_test.py; TO RUN AND CHECK SINGLE TEST: Single test cases are run within any subdirectory. Run lagrit exectuable and compare to files in reference directory. lagrit < input.lgi diff outx3dgen reference/outx3dgen run_test.py writes 2 summary files: diffout_$OS.txt and stdout_$OS.txt level01 tests are required for QA projects and test basic and required functionality. level02 tests are for certain select algorithms and advanced applications level03 tests are created by student or guest users NOTES: Windows doesn't automatically see .py files as python, so unless .py files are associated with the correct executable the shell command should be "python <target-script>"