Commit b2540552 authored by Miguel Tremblay's avatar Miguel Tremblay
Browse files

Merge branch 'master' of framagit.org:metroprojects/metro

parents 628752e8 308c439a
Pipeline #208388 passed with stage
in 1 minute and 46 seconds
# METRo test_suite README file
# README test_suite
The `test_suite.py` of METRo runs pre-selected case(s) automatically and output a
forecast file named `roadcast_test_suite_run.xml` for every pre-selected case.
......@@ -23,45 +23,41 @@ digits case number (ex: "case001" represents a case having case number 1, and
2. Enter "python3 test_suite.py" to run all the cases inside the directory
"test_suite" and displays the running results in a simplified version.
OPTIONS
OPTIONS
"-v":
runs all cases inside the directory "test_suite" and displays the
detailed information of running processes and outputs the running
results in a verbose version.
"-c XX XX ..." where XX represents the case number:
runs the case(s) whose number(s) is/are entered after "-c". You can
enter as many case numbers as you would like to run, but you have to
enter at least one case number in order to active "-c".
Note: "-c" and "-s" cannot be used simultaneously.
"-s XX XX ..." where XX represents the case number:
runs by skipping the case(s) whose number(s) is/are entered after
"-s". You can enter as many case numbers as you would like to skip,
but you have to enter at least one case number in order to active
"-s".
Note: "-c" and "-s" cannot be used simultaneously.
"-e YY" where YY represents the error tolerance in floating points:
runs all cases inside the directory "test_suite" and compares
"roadcast_test_suite_run.xml" with "roadcast_reference.xml" and
outputs comparison result(s) using YY instead of the default value
of 0.01 as error of tolerance.
"--clean":
deletes all the files named "roadcast_test_suite_run.xml" within the
directory "test_suite".
Note: "--clean" can only be used in combination with "-v" which
displays all the directory/directories where the
"roadcast_test_suite_run.xml" is/are deleted.
"--help":
test_suite.py displays all the detailed information regarding above
mentioned parameters.
"-v":
runs all cases inside the directory "test_suite" and displays the
detailed information of running processes and outputs the running
results in a verbose version.
"-c XX XX ..." where XX represents the case number:
runs the case(s) whose number(s) is/are entered after "-c". You can
enter as many case numbers as you would like to run, but you have to
enter at least one case number in order to active "-c". Note: "-c"
and "-s" cannot be used simultaneously.
"-s XX XX ..." where XX represents the case number:
runs by skipping the case(s) whose number(s) is/are entered after
"-s". You can enter as many case numbers as you would like to skip,
but you have to enter at least one case number in order to active
"-s". Note: "-c" and "-s" cannot be used simultaneously.
"-e YY" where YY represents the error tolerance in floating points:
runs all cases inside the directory "test_suite" and compares
"roadcast_test_suite_run.xml" with "roadcast_reference.xml" and
outputs comparison result(s) using YY instead of the default value
of 0.01 as error of tolerance.
"--clean":
deletes all the files named "roadcast_test_suite_run.xml" within the
directory "test_suite"."--clean" can only be used in combination
with "-v" which displays all the directory/directories where the
"roadcast_test_suite_run.xml" is/are deleted.
"--help":
test_suite.py displays all the detailed information regarding above
mentioned parameters.
## Files in the test directory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment