Crate cairo_lang_test_utils
source ·Re-exports
pub use parse_test_file::parse_test_file;
Modules
Macros
- Creates a test that reads test files for a given function. test_name - the name of the test. filenames - a vector of tests files the test applies to. func - the function to be applied on the test params to generate the tested result.
- Creates a test that reads test files for a given function. test_name - the name of the test. filenames - a vector of tests files the test applies to. runner - the struct implementing
TestFileRunner + Default
.
Functions
- Compares content to examples content, or overrides it if the
CAIRO_FIX_TESTS
environment value is set to1
. - Locks the given mutex, and prints an informative error on failure.