ModulesΒ§
- make πLogic for transforming the raw code given by the user into something actually runnable, e.g. by adding a
mainfunction if it doesnβt already exist. - markdown πDoctest functionality used only for doctests in
.mdMarkdown files. - rust πDoctest functionality used only for doctests in
.rssource files.
StructsΒ§
- GlobalTestOptions πOptions that apply to all doctests in a crate or Markdown file (for
rustdoc foo.md). - RunnableDoctest π
- ScrapedDoctest πA doctest scraped from the code, ready to be turned into a runnable test.
- UnusedExterns π
EnumsΒ§
- DirState π
- TestFailure πDocumentation test failure modes.
TraitsΒ§
- DoctestVisitor π
FunctionsΒ§
- add_exe_suffix π
- doctest_run_fn π
- generate_args_file π
- get_doctest_dir π
- Converts a path intended to use as a command to absolute if it is relative, and not a single component.
- run π
- run_test π
- run_tests π
- scrape_test_config π