Crates.io | atcoder-auto-tester |
lib.rs | atcoder-auto-tester |
version | 0.9.2 |
source | src |
created_at | 2020-03-02 10:36:45.619233 |
updated_at | 2020-10-24 15:09:12.542879 |
description | An auto tester for AtCoder. This tool monitors files and automatically runs tests when it detects file changes. |
homepage | |
repository | https://github.com/arkark/atcoder-auto-tester |
max_upload_size | |
id | 214421 |
size | 32,243 |
An auto tester for AtCoder. This CLI tool automatically downloads sample cases and runs tests when it detects file changes. Thanks online-judge-tools :+1:
$ cargo install atcoder-auto-tester
.config.toml
.$ atcoder-auto-tester
.For example, set .config.toml
for AGC001 as follows:
command = "sh -c 'g++ {}.cpp && ./a.out'"
file_name = "{}.cpp"
task_url = "https://atcoder.jp/contests/agc001/tasks/agc001_{}"
command = "rdmd {}.d"
file_name = "{}.d"
task_url = "https://atcoder.jp/contests/agc001/tasks/agc001_{}"
$ atcoder-auto-tester --help
atcoder-auto-tester 0.1.0
An auto tester for AtCoder. This tool monitors files and automatically runs tests when it detects file changes.
USAGE:
atcoder-auto-tester [FLAGS] [OPTIONS]
FLAGS:
--clean Remove the test directory
--login Login to AtCoder
-h, --help Print help information
-v, --version Print version information
OPTIONS:
-f, --config-file <FILE> Set a config file name [default: .config.toml]
-d, --test-directory <DIRECTORY> Set a directory for saving test cases [default: .test]
-t, --timeout <VALUE> Set a time limit for test execution [unit: seconds] [default: 5]