parameter

Function parameter 

Source
pub fn parameter(name: impl Into<String>, value: impl ToString)
Expand description

Adds a parameter to the current test or step.

Parameters are displayed in the Allure report and can be used to understand what inputs were used for a test run.

ยงExample

use allure_core::runtime::{with_test_context, parameter};

with_test_context(|| {
    parameter("username", "john_doe");
    parameter("count", 42);
});