Contains the API for end users as well as helper functions and classes to build Allure adapters for Python test frameworks
Overall
score
94%
A Python module that creates functions for running tests with proper metadata and external system links. Each function should execute a test and link it to external resources like issue trackers and test case management systems for traceability.
@generates
def create_test_with_issue(issue_url: str, issue_name: str):
"""
Creates and executes a test function that is linked to a single issue.
Args:
issue_url: The URL of the issue in the tracking system
issue_name: The display name/identifier for the issue
"""
pass
def create_test_with_multiple_issues(issues: list[tuple[str, str]]):
"""
Creates and executes a test function that is linked to multiple issues.
Args:
issues: List of (url, name) tuples for each issue
"""
pass
def create_test_with_testcase(testcase_url: str, testcase_name: str):
"""
Creates and executes a test function that is linked to a test case.
Args:
testcase_url: The URL of the test case
testcase_name: The display name/identifier for the test case
"""
pass
def create_test_with_combined_links(issue_url: str, issue_name: str,
testcase_url: str, testcase_name: str):
"""
Creates and executes a test function that is linked to both an issue and a test case.
Args:
issue_url: The URL of the issue
issue_name: The display name for the issue
testcase_url: The URL of the test case
testcase_name: The display name for the test case
"""
passProvides test reporting and external system integration 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