[][src]Crate stipulate

Structs

TestConfig

This struct represents all of the configuration for a test run. This entire module is about creating, exporting, and dealing with these.

Functions

test_output

Runs the given command with the given args, and passes the given argument as input through standard input. It returns true iff the command's output matches expected_output.

test_student

Tests the given command (cmd and args) against the given cases (input/ouput pairs), with a specified per-case timeout.