t3jtex's blog

By t3jtex, 9 months ago, In English

idk if there are any good testers, so i made my own.

Stress testing:

tosts stress \
   --number 1000 \
   --timelimit 100 \
   ./gen \
   ./sol1 \
   ./sol2

Running on pregenerated tests:

tosts run \
   --in-dir tests/in \
   --out-dir tests/out \
   --in-ext in \
   --out-ext out \
   --timelimit 100 \
   ./sol

Generating tests:

tosts generate \
   --in-dir tests/in \
   --out-dir tests/out \
   --in-ext in \
   --out-ext out \
   --number 1000 \
   ./gen \
   ./sol

https://github.com/Tejtex/tosts2

https://crates.io/crates/tosts

Installation:

cargo install tosts
  • Vote: I like it
  • +2
  • Vote: I do not like it