Expand description
Tools for testing.
Re-exports§
pub use super::super::asset;pub use super::super::compiletime;pub use super::super::helper;pub use super::super::smoke_test;pub use super::super::version;pub use super::super::process as process_tools;
Modules§
- asset
- Test asset helper.
- compiletime
- Try building a program for negative testing.
- exposed
- Exposed namespace of the module.
- helper
- Helpers for testing.
- orphan
- Shared with parent namespace of the module
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*. - process
- Compact version of
module::process_tools. What is needed from process tools - smoke_
test - Smoke test checking health of a module.
- version
- Version of Rust compiler
Macros§
- doc_
file_ test - Test a file with documentation.
- impls
- Macros to put each function under a named macro to index every function in a class.
- index
- Index of items.
- num
- Required to convert integets to floats.
- tests_
impls - Define implementation putting each function under a macro and adding attribute
#[ test ]. Use index! to generate code for each element. Unlike elements of [test_impls_optional!], elements of [test_impls] are mandatory to be used inindex!. - tests_
impls_ optional - Define implementation putting each function under a macro and adding attribute
#[ test ]. Use index! to generate code for each element. Unlike elements of [test_impls!], elements of [test_impls_optional] are optional to be used inindex!. - tests_
index - Index of items.
Structs§
- Smoke
Module Test - Context for smoke testing of a module.
Functions§
- smoke_
test_ for_ local_ run - Run smoke test for local version of the module.
- smoke_
test_ for_ published_ run - Run smoke test for published version of the module.
- smoke_
test_ run - Run smoke test for the module. Run smoke test for the module.
- smoke_
tests_ run - Run smoke test for both published and local version of the module.