Skip to content
Agentmart
Submit a tool

enterprise-test-suites

Comprehensive testing matrix spanning Unit, Integration, E2E (Playwright), Contract (Pact), Chaos/Fault-Injection, Mutation, Load/Stress (k6), and Security…

Skill by saitarrun

IndexedApache-2.0★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/saitarrun-enterprise-test-suites

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Comprehensive testing matrix spanning Unit, Integration, E2E (Playwright), Contract (Pact), Chaos/Fault-Injection, Mutation, Load/Stress (k6), and Security Fuzz testing.

Use cases: documents, testing, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/enterprise-test-suites

What's inside

Skill name
enterprise-test-suites
Description
Comprehensive testing matrix spanning Unit, Integration, E2E (Playwright), Contract (Pact), Chaos/Fault-Injection, Mutation, Load/Stress (k6), and Security Fuzz testing.
License
Apache-2.0
Instructions
84 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Enterprise Multi-Tier Test Suite Engineering Skill

This skill defines industry standards for implementing a resilient, multi-tiered test pyramid for mission-critical enterprise applications.

---

## 1. The Enterprise Testing Matrix

```
                      / \
                     /   \
                    / E2E \       → Playwright / Cypress UI workflows
                   /-------\
                  / Contract\     → Pact / OpenAPI Consumer-Provider validation
                 /-----------\
                / Integration \   → Testcontainers (Postgres, Redis, Kafka)
               /---------------\
              /      Unit       \ → Vitest / Jest / PyTest (>80% branch coverage)
             /-------------------\
            / Specialized Suites  \
           /-----------------------\
          • Chaos & Fault Injection (Simulate network drop, latency, node crash)
          • Load & Performance (k6 / Artillery latency & concurrency benchmarks)
          • Security & Property Fuzzing (Malformed payload injection)
          • Mutation Testing (Stryker / mutmut test-quality validation)
```

---

## 2. Test Suite Specifications

### A. Unit Test Suite (`*.spec.ts` / `*_test.go`)
- **Focus**: Pure business logic, domain models, mathematical formulas, and validators.
- **Rules**: Fast (<5ms per test), zero external I/O, deterministic mocking.
- **Coverage**: Target >80% line and branch coverage.

### B. Integration Test Suite (`*.integration.spec.ts`)
- **Focus**: Database repositories, ORM queries, cache layers, external API clients, and queue consumers.
- **Standard**: Use ephemeral real dependencies with **Testcontainers** (Postgres, Redis, Kafka, LocalStack).
- **Invariants**: Test database transactions, rollback on failure, connection pools, and migration compatibility.

### C. Consumer-Driven Contract Test Suite (`*.contract.spec.ts`)
- **Focus**: Microservices API boundaries and webhook contracts.
- **Tooling**: Pact / MSW.
- **Invariants**: Assert request/response schemas, error codes, and headers without deploying the full fleet.

### D. End-to-End (E2E) Test Suite (`tests/e2e/*.spec.ts`)
- **Focus**: Critical user journeys (e.g. User Signup -> Policy Selection -> Payout -> Invoice Generation).
- **Tooling**: Playwright headless browser runners with parallel workers and video/trace capture on failure.

### E. Load & Stress Test Suite (`tests/perf/*.js`)
- **Tooling**: **k6** or **Artillery**.
- **Scenarios**:
  - *Load Test*: Target expected average RPS (e.g. 500 RPS) for 10 minutes; assert p95 latency < 150ms.
  - *Spike Test*: 10x instant burst to verify auto-scaling and rate-limiting resilience.
  - *Soak Test*: Sustained traffic for 2 hours to detect memory leaks and connection exhaustion.

### F. Chaos & Fault Injection Test Suite (`tests/chaos/*.ts`)
- **Focus**: Distributed resilience and graceful degradation.
- **Simulations**:
  - Database primary failover mid-transaction.
  - 500ms artificial network latency on Redis/Kafka.
  - External third-party payment gateway 503 outage (verify circuit breaker and fallback queue).

### G. Security & Property-Based Fuzzing (`tests/fuzz/*.ts`)
- **Tooling**: Fast-check / Atheris.
- **Focus**: Property-based invariance testing with randomized edge-case inputs (overflow numbers, null bytes, unicode emojis, SQL fragments).

---

## 3. Test Suite Organization Standard

```
tests/
├── unit/                 ← Fast isolated unit tests
├── integration/          ← Testcontainers-backed DB & API integration tests
├── contract/             ← Pact consumer/provider verification
├── e2e/                  ← Playwright browser journeys
├── perf/                 ← k6 load, spike, and soak test scripts
├── chaos/                ← Circuit breaker & fault-injection simulations
└── fuzz/                 ← Property-based fuzzing harnesses
```

From saitarrun/Devforge-ai, Apache-2.0.

More from saitarrun/Devforge-ai

Signals

Stars
4
Forks
1
Open issues
0
Last commit (this folder)
Aug 13, 2026 (2 months ago)
Last release
Jun 21, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from saitarrun

Cite this page

enterprise-test-suites skill. Agent Mart. https://agentmart.dev/skills/saitarrun-enterprise-test-suites (last updated 2026-10-24)