Expand description
Core Allure runtime, lifecycle, model, writer, and facade APIs for Rust integrations.
The high-level facade functions are framework-neutral and operate on the current thread-bound Allure context when one is active. Lower-level modules expose lifecycle and serialization primitives for adapter authors.
Re-exports§
pub use config::apply_common_runtime_labels;pub use config::apply_config_labels;pub use config::apply_synthetic_suite_labels;pub use config::global_config;pub use config::global_labels_from_environment;pub use config::log_asserts_enabled;pub use config::relative_file_path;pub use config::title_path;pub use config::GlobalAllureConfig;pub use facade::allure;pub use facade::allure_id;pub use facade::attach_trace;pub use facade::attach_trace_named;pub use facade::attachment;pub use facade::attachment_path;pub use facade::clear_last_assertion_failure;pub use facade::current_allure;pub use facade::description;pub use facade::description_html;pub use facade::display_name;pub use facade::enter_step;pub use facade::epic;pub use facade::fail_assertion;pub use facade::feature;pub use facade::global_attachment;pub use facade::global_attachment_path;pub use facade::global_error;pub use facade::global_error_with_trace;pub use facade::history_id;pub use facade::http_exchange;pub use facade::http_exchange_named;pub use facade::id;pub use facade::issue;pub use facade::label;pub use facade::labels;pub use facade::layer;pub use facade::link;pub use facade::links;pub use facade::log_step;pub use facade::log_step_with;pub use facade::owner;pub use facade::parameter;pub use facade::parameter_excluded;pub use facade::parameter_mode;pub use facade::parameter_with_options;pub use facade::parent_suite;pub use facade::push_current_allure;pub use facade::record_assertion_pass;pub use facade::set_title_path;pub use facade::severity;pub use facade::stage;pub use facade::status_details_for_message;pub use facade::step;pub use facade::story;pub use facade::sub_suite;pub use facade::suite;pub use facade::tag;pub use facade::test;pub use facade::test_async;pub use facade::test_case_id;pub use facade::test_named;pub use facade::test_named_async;pub use facade::test_with;pub use facade::test_with_async;pub use facade::test_with_outcome;pub use facade::test_with_outcome_async;pub use facade::tms;pub use facade::AllureFacade;pub use facade::AllureTestOutcome;pub use facade::CurrentAllureGuard;pub use facade::StepGuard;pub use facade::TestOptions;pub use lifecycle::AllureLifecycle;pub use lifecycle::AllureRuntime;pub use lifecycle::StartTestCaseParams;pub use writer::results_dir_from_env;pub use writer::FileSystemResultsWriter;pub use writer::ALLURE_RESULTS_DIR_ENV;pub use writer::DEFAULT_RESULTS_DIR;pub use writer::PLAYWRIGHT_TRACE_ATTACHMENT_EXTENSION;pub use writer::PLAYWRIGHT_TRACE_ATTACHMENT_MIME;pub use http_exchange::*;pub use model::*;
Modules§
- config
- Runtime configuration helpers. Runtime and Cargo metadata configuration helpers.
- error_
classifier - Panic and error status classification helpers. Helpers for mapping Rust panic messages to Allure statuses.
- facade
- High-level runtime facade and thread-bound helper functions. Framework-neutral high-level Allure runtime facade.
- http_
exchange - Allure HTTP Exchange attachment model. Types for Allure HTTP Exchange attachments.
- lifecycle
- Low-level lifecycle owner. Low-level lifecycle owner for mutable Allure test state.
- model
- Serializable Allure result model. Serializable Allure result model types.
- reporter
- Exact-owner reporter helpers for adapter internals. Exact-owner helpers for reporter and adapter internals.
- writer
- Filesystem writer for Allure result artifacts. Filesystem writer for Allure result artifacts.
Functions§
- md5_hex
- Returns the lowercase hexadecimal MD5 digest of a string.