Modules§
- make πLogic for transforming the raw code given by the user into something actually runnable, e.g. by adding a
main
function if it doesnβt already exist. - markdown πDoctest functionality used only for doctests in
.md
Markdown files. - runner π
- rust πDoctest functionality used only for doctests in
.rs
source files.
Structs§
- Global
Test πOptions Options that apply to all doctests in a crate or Markdown file (forrustdoc foo.md
). - Runnable
DocTest πInformation needed for running a bundle of doctests. - Scraped
DocTest πA doctest scraped from the code, ready to be turned into a runnable test. - Unused
Externs π
Enums§
- DirState π
- Test
Failure πDocumentation test failure modes.
Traits§
- DocTest
Visitor π
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 πExecute aRunnableDoctest
. - run_
tests π - scrape_
test_ πconfig