Markdown Editor

Test Procedure Specification Template (ISO/IEC/IEEE 29119-3)

Executable test procedure: test sets, environment, data, setup, ordered steps with expected results, stop, teardown and restart

Pruebas y calidadEstándarISO/IEC/IEEE 29119-3testprocedure

Cómo usar: Use it to turn test cases into an ordered run another tester or a script can repeat. Write setup and data first, then the steps with an expected result each. The main pitfall is missing stop and teardown rules, which leaves corrupted data for the next run.

Vista previa

Test Procedure Specification: [Test set or scenario name]

Test procedure specification. The structure follows the test procedure concepts of ISO/IEC/IEEE 29119-3: test sets, the ordered steps to run them, setup and teardown, dependencies, environment, data and stop or restart conditions. Replace every [bracketed] value and every row marked Example.

FieldValue
Document ID[TPR-FEATURE-001]
Test plan[TP-PROJECT-001]
Test case specification[TCS-FEATURE-001]
Test item and build[Web storefront 5.1.0-rc2, Orders API 2.8.0]
Execution mode[Manual / Automated / Semi-automated]
Estimated duration[45 minutes]
Version[0.1]
Status[Draft / In review / Approved]
Author[@tester]
Last updatedYYYY-MM-DD

1. Purpose

This procedure executes the checkout regression test set for [product] against each release candidate. It confirms that quantity validation, discounts and order state changes still behave as specified after any change to the checkout or order services.

2. Test sets

Test setTest cases (in order)Shared preconditionsPriority
TS-A Cart validationTC-ORD-005, TC-ORD-006, TC-ORD-007, TC-ORD-008Standard customer logged in, empty cartP1
TS-B DiscountsTC-ORD-010, TC-ORD-011, TC-ORD-012, TC-ORD-013Gold and Standard customers availableP1
TS-C Order lifecycleTC-ORD-020, TC-ORD-022, TC-ORD-026, TC-ORD-027Warehouse role, seeded ordersP1
[TS-x][Cases][Preconditions][Priority]

3. Environment

ItemValue
Environment[System test, https://st.example.test]
Browser / device[Chrome stable on Windows 11; Safari on iOS 18 for TS-A only]
Services and versions[Orders API 2.8.0, Pricing 1.14.2, payment sandbox]
Tools[Test management tool], [REST client], [Playwright 1.x for automated steps]
AccessAccounts in section 4; warehouse console role wh-tester

4. Test data

DataUsed byCreationReset
TD-01 Gold customer [email protected]TS-Bpnpm seed:customersSetup step S3
TD-02 Standard customer [email protected]TS-A, TS-Bpnpm seed:customersSetup step S3
TD-03 Product MUG-RED-01, stock 500Allpnpm seed:catalogSetup step S3
Orders ORD-TEST-7001 to ORD-TEST-7004TS-Cpnpm seed:ordersTeardown step D2

5. Dependencies

  • Smoke test procedure [TPR-SMOKE-001] has passed on the same build.
  • Pricing service has the current promotion configuration (promo-2026Q1).
  • No other tester is running TS-C in the same environment (orders are shared).

6. Setup

StepActionExpected result
S1Confirm the deployed build in /healthversion equals the build under test
S2Clear browser storage and log out all sessionsLogin page shown
S3Run pnpm seed:reset && pnpm seed:customers && pnpm seed:catalogScript exits with code 0; three records reported
S4Run pnpm seed:ordersFour test orders listed in state Created or Paid
S5Start screen recording and open the test run in [tool]Run ID recorded in section 9

7. Procedure steps

StepTest caseActionExpected resultOutcome
1TC-ORD-005Log in as TD-02, open MUG-RED-01, enter quantity 0Error "Enter a quantity from 1 to 99"; add button disabled[Pass / Fail]
2TC-ORD-006Enter quantity 1, add to cartCart count 1[Pass / Fail]
3TC-ORD-007Set quantity to 99 in the cartLine total 2,475.00 EUR[Pass / Fail]
4TC-ORD-008Set quantity to 100 in the cartError shown; quantity reverts to 99[Pass / Fail]
5(cleanup)Empty the cart and log outCart count 0[Pass / Fail]
6TC-ORD-010Log in as TD-01, add 4 x MUG-RED-01, open summaryDiscount -15.00 EUR, shipping 0.00, total 85.00 EUR[Pass / Fail]
7TC-ORD-011Change quantity to 3Discount -7.50 EUR, shipping 0.00[Pass / Fail]
8TC-ORD-012Log out, log in as TD-02, add 4 x MUG-RED-01Discount -5.00 EUR, shipping 0.00[Pass / Fail]
9TC-ORD-013Change quantity to 3No discount; shipping charged[Pass / Fail]
10TC-ORD-020In warehouse console, capture payment on ORD-TEST-7001State Paid[Pass / Fail]
11TC-ORD-022Mark ORD-TEST-7001 dispatchedState Shipped; tracking number field required[Pass / Fail]
12TC-ORD-026Call dispatch API on ORD-TEST-7002 (Created)HTTP 409 INVALID_STATE_TRANSITION[Pass / Fail]
13TC-ORD-027Try to cancel delivered order ORD-TEST-7004Cancel option hidden; API returns 409[Pass / Fail]
[n][TC-ID][Action][Expected][Outcome]

8. Stop, wrap-up and restart

8.1 Stop conditions

  • A P1 step fails with a severity-1 or severity-2 defect: finish the current test set, then stop.
  • The environment returns HTTP 5xx on three consecutive steps: stop immediately.
  • Seed data is found modified by another user: stop and notify the test lead.

8.2 Teardown

StepActionExpected result
D1Log out all test accountsLogin page shown
D2Run pnpm seed:orders --purgeTest orders removed
D3Stop recording; attach logs and recording to the runAttachments visible in [tool]

8.3 Restart

Restart from the first step of the interrupted test set after repeating setup steps S1 to S4. Completed sets do not need to be repeated unless the build changed.

9. Execution record

Run IDBuildExecuted byDateDurationPassedFailedBlockedDefects raised
Example: RUN-04125.1.0-rc2[@name]YYYY-MM-DD52 min1210BUG-3381
[Run ID][Build][@name]YYYY-MM-DD[min][n][n][n][IDs]

Standard and licence note

Structure aligned with ISO/IEC/IEEE 29119-3, Software testing, Part 3: Test documentation, test procedure concepts. This template is original text written for this collection and reproduces no text from the standard; obtain the standard for its normative requirements. Template licence: MIT.

Plantillas relacionadas