A list of other API endpoints that this scenario logically depends on.
These dependencies represent context or prerequisite conditions, such as
authentication, resource creation, or data setup, that are relevant to the
test. This list is not a strict execution order — if ordering is important,
it must be described explicitly in the purpose.
WARNING: Every endpoint referenced here MUST exist in the provided API operations. Do NOT reference endpoints that are not explicitly available, even if they seem logically necessary based on database schema or business logic.
A detailed natural language description of how this API endpoint should be tested. This should include both successful and failure scenarios, business rule validations, edge cases, and any sequence of steps necessary to perform the test. A subsequent agent will use this draft to generate multiple concrete test cases.
The API endpoint being tested.
Contains the complete endpoint specification including URL, method, parameters, and expected responses that will be validated by this test scenario.
Descriptive function name derived from the user scenario.
The function name serves as a concise, technical identifier that clearly represents the specific user scenario being described. It should be immediately understandable and directly correspond to the user situation without requiring additional context.
DO: Use snake_case naming convention.
test_api_ prefix (mandatory requirement)Function names should follow this pattern:
test_api_[core_feature]_[specific_scenario]
Where:
core_feature: The main business feature or entity being tested (customer,
seller, cart, push_message, etc.)specific_scenario: The specific operation or scenario context
(join_verification_not_found, login_success, moderator_assignment_update,
discountable_ticket_duplicated, csv_export, etc.)test_api_customer_join_verification_not_found - Customer join
verification when verification code not foundtest_api_seller_login - Seller login operationtest_api_cart_discountable_ticket_duplicated - Cart discountable ticket
with duplication scenariotest_api_push_message_csv - Push message functionality with CSV formattest_api_product_review_update - Product review update operationFunction names must reflect scenarios that:
Test scenario specification for E2E testing of a single API endpoint.
Defines comprehensive test strategy including endpoint details, test description, function name, and prerequisite dependencies with proper execution ordering.