[][src]Crate rubric

A criterion runner

For complete examples, see the examples directory on Github.

Re-exports

pub use self::rubric::Rubric;
pub use self::dropbox::open;
pub use self::dropbox::Submission;
pub use self::dropbox::TestData;

Modules

dropbox

A dropbox to collect submissions.

helpers

Functions for common tasks in criteria

report
rubric

A collection of criteria and other data

Macros

attach

Attaches tests to criteria in a rubric.

data

A macro to easily create a TestData struct, which is really just an alias to HashMap<String, String>.

prompt

Calls prompt, then tries to parse the input into the provided type. If parsing fails, it will try again.

yaml

This reads data from a file using the include_bytes! macro. When compiling for debug, this will read from the filesystem. When compiling for release, this will embed the data in the executable. Graders built using this crate need to have the data embedded in the executable to make it easier to distribute and to keep the data private.

Type Definitions

Error
Result