Module ktest::tree

source ·
Expand description

The source module tree of ktests.

In the KtestTree, the root is abstract, and the children of the root are the crates. The leaves are the test functions. Nodes other than the root and the leaves are modules.

Structs

  • The KtestCrateIter will iterate over all modules in a crate. Yeilding KtestModules. The iterator will return modules in the depth-first-search order of the module tree.
  • The KtestModuleIter will iterate over all tests in a crate. Yeilding KtestItems.
  • The KtestTreeIter will iterate over all crates. Yeilding KtestCrates.