⛑ 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 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 quicktest

Usage

sh quicktest --help

``` quicktest 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 TLE

USAGE: quicktest tle [FLAGS] [OPTIONS] --gen-file --target-file

FLAGS: -h, --help Prints help information -s, --save-cases Save test cases -b, --tle-break Break if Time Limit Exceeded (TLE) occurs -V, --version Prints version information

OPTIONS: -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] ```

Cmp Subcommand

sh quicktest cmp --help

```shell quicktest-cmp 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 | | Python | Version 3 |

License

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