LiorCohen/sdd / plugin/fullstack-typescript/skills/components/integration-testing/integration-testing-standards
integration-testing-standards
VerifiedIntegration testing patterns - database setup/teardown, API testing, contract testing, and Testkube execution.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.1 KB |
| resources/api-testing.md | markdown | 4.4 KB |
| resources/authentication.md | markdown | 1.9 KB |
| resources/database-strategies.md | markdown | 3.2 KB |
| resources/testkube.md | markdown | 1.5 KB |
resources/testkube.md
View on GitHub# Testkube
Test definition YAML, suite configuration, and commands for running integration tests in Kubernetes via Testkube.
---
## Test Definition
```yaml
# components/<testing-component>/tests/integration/integration-tests.yaml
apiVersion: tests.testkube.io/v3
kind: Test
metadata:
name: api-integration-tests
namespace: testkube
labels:
app: myapp
type: integration
spec:
type: vitest/test
content:
type: git
repository:
uri: https://github.com/org/repo
branch: main
path: components/<testing-component>/tests/integration
executionRequest:
envConfigMaps:
- name: test-config
mapToEnv: true
envSecrets:
- name: test-secrets
mapToEnv: true
```
## Test Suite
```yaml
# components/<testing-component>/testsuites/integration-suite.yaml
apiVersion: tests.testkube.io/v3
kind: TestSuite
metadata:
name: integration-tests
namespace: testkube
spec:
description: All integration tests
steps:
- stopOnFailure: true
execute:
- test: api-integration-tests
- test: db-integration-tests
```
## Running Tests
```bash
# Run single test
testkube run test api-integration-tests --watch
# Run suite
testkube run testsuite integration-tests --watch
# Run with specific variables
testkube run test api-integration-tests \
--variable API_URL=http://server:3000 \
--variable TEST_DATABASE_URL=postgres://... \
--watch
# Get results
testkube get execution <execution-id>
testkube get execution <execution-id> --output json
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |