tessl install tessl/pypi-allure-python-commons@2.15.0Contains the API for end users as well as helper functions and classes to build Allure adapters for Python test frameworks
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.27x
Baseline
Agent success rate without this tile
74%
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.