Structsยง
- Entry
Point ๐Cleaner - A folder used to remove any entry points (like fn main) because the harness coroutine will provide its own
- Inner
Item ๐Linter - Test ๐
- Test
Ctxt ๐ - Test
Harness ๐Generator
Functionsยง
- entry_
point_ ๐type - generate_
test_ ๐harness - Crawl over the crate, inserting test reexports and the test main function
- get_
test_ ๐name - get_
test_ ๐runner - inject
- Traverse the crate, collecting all the test functions, eliding any existing main functions, and synthesizing a main test harness
- mk_main ๐
- Creates a function item for use as the main function of a test build.
This function will call the
test_runner
as specified by the crate attribute - mk_
tests_ ๐slice - Creates a slice containing every test like so: &[&test1, &test2]