Crate testing

Source

Modules§

json

Macros§

assert_eq
Asserts that two expressions are equal to each other (using PartialEq).
assert_eq_ignore_span
assert_ne
Asserts that two expressions are not equal to each other (using PartialEq).

Structs§

DebugUsingDisplay
Used for assertions.
NormalizedOutput
Normalized stdout/stderr.
TestOutput
Tester

Statics§

CARGO_TARGET_DIR
CARGO_WORKSPACE_ROOT

Functions§

diff
find_executable
init
Configures logger
print_left_right
run_test
Run test and print errors.
run_test2
Run test and print errors.
unignore_fixture
Rename foo/.bar/exec.js => foo/bar/exec.js

Type Aliases§

StdErr
StdOut

Attribute Macros§

fixture
Create tests from files.