Module test

Module test 

Source
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 in index!.
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 in index!.
tests_index
Index of items.

Structs§

SmokeModuleTest
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.

Attribute Macros§

nightly
stable