⛑ Quick Test CLI

Command Line Interface (CLI) for stress testing in competitive programming

Current Crates.io Version Quick Test License: MIT

Installation

If you already have Rust on your system:

sh cargo install --version 0.0.2 quicktest

If you don't have rust installed on your system, the following command will install Rust and the CLI at once:

Shell (Linux, Mac): sh curl https://sh.rustup.rs -sSf | sh && cargo install --version 0.0.2 quicktest

Usage

sh quicktest --help

``` quicktest 0.0.2 CLI for stress testing in competitive programming contest

USAGE: quicktest

FLAGS: -h, --help Prints help information -V, --version Prints version information

SUBCOMMANDS: cmp Check the correctness of the comparing it with with input test generated by help Prints this message or the help of the given subcommand(s) tle Check TLE ```

TLE Subcommand

sh quicktest tle --help

```shell quicktest tle Check that does not have the TLE status using random test cases generated by

USAGE: $ quicktest tle --target-file "code/main.cpp" --gen-file "code/gen.cpp" --timeout=1000 --test-cases=100

FLAGS: -h, --help Prints help information -s, --save-cases Save test cases -b, --tle-break TLE Break -V, --version Prints version information

OPTIONS: -g, --gen-file Generator File -t, --target-file Target File -n, --test-cases Number of test cases [default: 10000] -o, --timeout Timeout TLE [default: 2000] ```

Cmp Subcommand

sh quicktest cmp --help

```shell quicktest-cmp 0.0.2 Check the correctness of the comparing it with with input test generated by

USAGE: quicktest cmp [FLAGS] [OPTIONS] --correct-file --gen-file --target-file

FLAGS: -h, --help Prints help information -s, --save-cases Save test cases -V, --version Prints version information -b, --wa-break Break if Wrong Answer (WA) occurs

OPTIONS: -c, --correct-file Correct File -g, --gen-file Generator File -t, --target-file Target File -n, --test-cases Number of test cases [default: 1000] -o, --timeout Timeout TLE [default: 2000] ```

Supported Languages

| Language | Version | |--------------------|------------------------| | C++ | -std=c++17 |

License

Licensed under either of these: * MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)