Contains the API for end users as well as helper functions and classes to build Allure adapters for Python test frameworks
Overall
score
94%
Build a custom plugin for the allure-python-commons testing framework that extends its reporting capabilities by intercepting and modifying test metadata at runtime.
Your plugin should:
The plugin must be properly registered with the allure plugin manager and implement the necessary hooks to achieve these behaviors.
@generates
class CustomAllurePlugin:
"""
A custom plugin that extends Allure reporting with additional functionality.
Implements hooks to:
- Add timestamps to test descriptions
- Track test step execution
- Log attachment details
- Modify step titles with unique IDs
"""
pass
def register_plugin(plugin_instance):
"""
Registers the custom plugin with the allure plugin manager.
Args:
plugin_instance: An instance of CustomAllurePlugin
"""
passProvides the plugin system and hooks for extending Allure test reporting capabilities.
Install with Tessl CLI
npx tessl i tessl/pypi-allure-python-commonsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10