Qa testing methodology

From jpoutrin/product-forge · View interactive version

Qa testing methodology is an AI agent skill from the GitHub repository jpoutrin/product-forge. QA test design patterns (equivalence partitioning, boundary analysis, accessibility). Auto-loads when designing test cases, planning test coverage, or writing test procedures.

How to use this skill

Skill file

QA Testing Methodology Skill

Apply proven test design patterns for comprehensive test coverage.

Test Case Design Order

Always design tests in this order:

  1. Happy Path - Main success scenarios
  2. Validation Tests - Required fields, format validation
  3. Edge Cases - Boundary conditions, limits
  4. Error Scenarios - Invalid inputs, system errors
  5. Permission Tests - Access control, authorization

Equivalence Partitioning

Divide input data into partitions where all values should behave identically.

Example: Age Input Field (18-65)

| Partition | Values | Expected Behavior |

|-----------|--------|-------------------|

| Below minimum | 0-17 | Reject with "Must be 18+" |

| Valid range | 18-65 | Accept |

| Above maximum | 66+ | Reject with "Maximum age is 65" |

| Invalid | -1, "abc", empty | Reject with validation error |

Test Strategy: Test ONE value from each partition, not every value.

Boundary Value Analysis

Focus testing on boundaries where behavior changes.

Example: Password (8-20 characters)

| Boundary | Test Values | Expected |

|----------|-------------|----------|

| Just below minimum | 7 chars | Reject |

| At minimum | 8 chars | Accept |

| Just above minimum | 9 chars | Accept |

| Just below maximum | 19 chars | Accept |

| At maximum | 20 chars | Accept |

| Just above maximum | 21 chars | Reject |

Test Prioritization Matrix

Prioritize tests based on risk and frequency:

| Priority | Risk | User Impact | Test Frequency |

|----------|------|-------------|----------------|

| Critical | Data loss, security breach | All users blocked | Every build |

| High | Feature broken | Major workflow impacted | Every release |

| Medium | Inconvenient | Workaround available | Weekly |

| Low | Minor annoyance | Cosmetic issues | Monthly |

Accessibility Testing Checklist

Include in every test procedure:

Keyboard Navigation

Screen Reader

Visual

Performance Considerations

Note performance during manual testing:

| Metric | Acceptable | Needs Investigation |

|--------|------------|---------------------|

| Page load | < 3 seconds | > 3 seconds |

| Button response | < 100ms | > 300ms |

| Form submission | < 2 seconds | > 5 seconds |

| Search results | < 1 second | > 2 seconds |

Test Data Guidelines

DO

DON'T

Test Data Examples

Email: test.user@example.com
Password: Test@1234! (in password manager)
Phone: +1-555-0100 (test range)
Credit Card: 4111-1111-1111-1111 (test card)
Address: 123 Test Street, Test City, TS 12345

Regression Testing

When to run regression tests:

| Trigger | Regression Scope |

|---------|------------------|

| Bug fix | Related feature + integration points |

| New feature | All features that share data/UI |

| Dependency update | Full regression |

| Release candidate | Critical + High priority tests |

State-Based Testing

Test all valid state transitions:

Example: Order Status
┌─────────┐     ┌─────────┐     ┌─────────┐     ┌───────────┐
│ Created │ ──▶ │ Pending │ ──▶ │ Shipped │ ──▶ │ Delivered │
└─────────┘     └─────────┘     └─────────┘     └───────────┘
                     │                               │
                     ▼                               ▼
               ┌───────────┐                  ┌────────────┐
               │ Cancelled │                  │  Returned  │
               └───────────┘                  └────────────┘

Test:

Error Message Verification

Check error messages for:

  1. Clarity: User understands what went wrong
  2. Actionability: User knows how to fix it
  3. Tone: Professional, not blaming
  4. Security: No sensitive information exposed

Good vs Bad Error Messages

| Bad | Good |

|-----|------|

| "Error 500" | "Something went wrong. Please try again." |

| "Invalid input" | "Email must be in format: name@example.com" |

| "User not found in database" | "No account found with this email" |

| "Password must match regex..." | "Password needs 8+ characters with a number" |

Cross-Browser Testing Matrix

Minimum browser coverage:

| Browser | Desktop | Mobile |

|---------|---------|--------|

| Chrome | Latest, Latest-1 | Android |

| Safari | Latest | iOS |

| Firefox | Latest | - |

| Edge | Latest | - |

Test Documentation Patterns

When to Screenshot

Writing Clear Steps

Bad: Click the button

Good: Click the blue "Submit" button in the bottom-right of the form

Bad: Enter your details

Good: Enter "test@example.com" in the Email field

Bad: Verify it works

Good: Verify success message "Order placed successfully" appears

Mobile Testing Considerations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.