API Reference¶
Plugin hooks¶
Fixture implementation¶
-
rampa.pytest_plugin.rampa_result(request)rampa.pytest_plugin.rampa_result(request)
Run a rampa scenario defined by
@pytest.mark.rampa_scenario.The marker accepts the same kwargs as
ScenarioConfigplus an optionalthresholdsdict. The fixture runs the scenario, waits for completion, and returns theRunResult.If thresholds are configured and any fail, the test fails with a descriptive message.
- Parameters:
request (
pytest.FixtureRequest) – Pytest request object.- Returns:
RunResult – The completed test run result.
>>> import rampa.pytest_plugin
- Return type: