Stress Examples
Running Examples
-
C++ Examples
git clone https://github.com/LuchoBazz/quicktest.git
cd quicktest/examples/stress/cppquicktest stress --target-file=main.cpp --gen-file=gen.cpp --test-cases=15 --timeout=1000Or using the shorter alias:
quicktest stress -t main.cpp -g gen.cpp --tc 15 --tout 1000 -
Python Examples
git clone https://github.com/LuchoBazz/quicktest.git
cd quicktest/examples/stress/pythonquicktest stress --target-file=main.py --gen-file=gen.py --test-cases=15 --timeout=1000Or using the shorter alias:
quicktest stress -t main.py -t gen.py --tc 15 --tout 1000
Save Test Cases
You can use the following flags:
--save-allSaves all test cases.--save-badSaves only bad cases (WA, TLE, or RTE).
For example:
quicktest stress --target-file=main.cpp --gen-file=gen.cpp --test-cases=15 --timeout=1000 --save-bad
Or using the shorter alias:
quicktest stress --t main.cpp -g gen.cpp --tc 15 --tout 1000 --save-bad
Run Saved Test Cases
You can use the following flags:
--run-acRuns Accepted test cases.--run-allRuns all test cases.--run-rteRuns Run Time Error test cases.--run-tleRuns Time Limit Exceeded test cases.--run-waRuns Wrong Answer test cases.
For example:
quicktest stress --target-file=main.cpp --gen-file=gen.cpp --test-cases=15 --timeout=1000 --run-tle
Or using the shorter alias:
quicktest stress -t main.cpp -g gen.cpp --tc 15 --tout 1000 --run-tle