integration

Solid

Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.

AI & Automation 22 stars 5 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /supergraph:integration Integration + e2e tests. Validates modules work together. Run AFTER unit tests pass. ## Usage `/supergraph:integration` | `plan auth-login` | `plan auth-login task 3` ## Prerequisites - Unit tests passing (`$TEST_CMD` green) - `/supergraph:fix` completed ## Steps ### 0. Announce "๐Ÿ”— /supergraph:integration โ€” running integration and e2e tests..." ### 1. Get Commands Read from plan `## Environment Context` or `.supergraph-env`. Missing โ†’ STOP, run `/supergraph:scan` first. ### 2. Verify Unit Tests Pass ```bash $TEST_CMD ``` If unit tests FAIL โ†’ STOP: "Unit tests must pass before integration. Run `/supergraph:fix` first." ### 3. Detect Integration Setup Check for integration configuration: | Config | Command | |---|---| | `jest.integration.config.js` | `npx jest --config jest.integration.config.js` | | `vitest.integration.config.ts` | `npx vitest --config vitest.integration.config.ts` | | `pytest.ini` with `[integration]` or `-m integration` | `pytest -m integration` | | `cypress.config.js` / `cypress.config.ts` | `npx cypress run` | | `playwright.config.js` / `playwright.config.ts` | `npx playwright test` | | `docker-compose.test.yml` | `docker compose -f docker-compose.test.yml up --abort-on-container-exit` | | `*.integration.test.ts` / `*.integration.spec.ts` pattern | `npx jest --testPathPattern="integration"` | If none found โ†’ skip: "No integration/e2e config found โ€” skipping." ### 4. Run Integration Tests Max 3 retries. On failure: *...

Details

Author
datit309
Repository
datit309/supergraph
Created
4 months ago
Last Updated
6 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content โ€” not just same category