Expand description
§Tanu Core
Core functionality for the tanu WebAPI testing framework.
This crate provides the fundamental building blocks for tanu, including:
- Test runners and execution logic
- HTTP client functionality
- Assertion macros and utilities
- Configuration management
- Test reporting infrastructure
Most users should use the main tanu
crate rather than importing tanu-core
directly.
Re-exports§
pub use config::get_config;
pub use config::Config;
pub use config::ProjectConfig;
pub use error::Error;
pub use error::Result;
pub use reporter::ListReporter;
pub use reporter::NullReporter;
pub use reporter::Reporter;
pub use anyhow;
pub use eyre;
Modules§
Macros§
- check
- Asserts that a boolean expression is true.
- check_
eq - Asserts that two expressions are equal using
==
. - check_
ne - Asserts that two expressions are not equal using
!=
. - check_
str_ eq - Asserts that two string expressions are equal with enhanced string diff output.
Structs§
- Module
Filter - Filters tests to only run from specified modules.
- Project
Filter - Filters tests to only run from specified projects.
- Runner
- The main test execution engine for tanu.
- Test
Ignore Filter - Filters out tests that are configured to be ignored.
- Test
Info - Test metadata and identification.
- Test
Name Filter - Filters tests to only run specific named tests.
Traits§
- Filter
- Trait for filtering test cases during execution.
Type Aliases§
- Module
Name - Type alias for module names in test organization.
- Project
Name - Type alias for project names in tanu configuration.
- Test
Name - Type alias for individual test names.