Skip to main content

Preparing contests made easy

Project description

# Testutil - preparing contests made easy

Testutil is a project inspired by Codeforces Polygon, that aims to provide an open-source extensible alternative to programming contest creation.

## Installation

  • Clone or download the repository

  • Run pip3 install -r requirements.txt

  • Add testutil folder to PATH

## How to use

<img src=”” width=”640” />

##### Create a problem To create a problem, go to some folder and type testutil create [PROBLEM_NAME].

##### Generate tests To generate tests, you have to write one or more generators, and modify the script to generate each test. You can also optionally include validators. To generate the actual tests, you can use the command testutil generate.

##### Evaluate tests To evaluate the solutions without (re-)generating test cases by using testutil evaluate. This will show a table with results of all the submissions. You can optionally specify which submissions to evaluate.

##### Run-all You can also opt to run all of the above steps in order by typing testutil runall.

_Note: You can always check the available options by running testutil –help, and even testutil [COMMAND] –help. All of the above commands will require you to have testutil added to your PATH._

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cprep-0.1.1.tar.gz (14.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page