or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/allure-python-commons@2.15.x
tile.json

tessl/pypi-allure-python-commons

tessl install tessl/pypi-allure-python-commons@2.15.0

Contains 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%

task.mdevals/scenario-2/

Test Suite Organization

Build a test suite for an e-commerce platform that organizes tests using hierarchical categorization aligned with business requirements. The test suite should structure tests by their business context to enable better reporting and traceability.

Requirements

Implement a test module with four tests for an e-commerce platform:

  1. Test user registration - categorized under User Management feature and User Registration story
  2. Test user login - categorized under User Management feature and User Login story
  3. Test adding items to cart - categorized under Shopping Cart feature and Add Items story
  4. Test checkout process - categorized under Shopping Cart feature and Complete Purchase story

All tests should be organized under:

  • Epic: "E-commerce Platform"
  • Suite: "E-commerce Tests"

Each test should use the appropriate organizational metadata to reflect its position in the business hierarchy. The tests can be simple placeholder functions that pass immediately - the focus is on correct test organization.

Test Cases

  • User registration test is categorized under epic "E-commerce Platform", feature "User Management", story "User Registration", and suite "E-commerce Tests" @test
  • User login test is categorized under epic "E-commerce Platform", feature "User Management", story "User Login", and suite "E-commerce Tests" @test
  • Add to cart test is categorized under epic "E-commerce Platform", feature "Shopping Cart", story "Add Items", and suite "E-commerce Tests" @test
  • Checkout test is categorized under epic "E-commerce Platform", feature "Shopping Cart", story "Complete Purchase", and suite "E-commerce Tests" @test

@generates

Dependencies { .dependencies }

allure-python-commons { .dependency }

Provides test organization and reporting capabilities.

API

def test_user_registration():
    """Test user registration functionality"""
    pass

def test_user_login():
    """Test user login functionality"""
    pass

def test_add_to_cart():
    """Test adding items to cart"""
    pass

def test_checkout():
    """Test checkout process"""
    pass