Back to list
michaellperry

integration-testing-performance

by michaellperry

0🍴 0📅 Jan 23, 2026

SKILL.md


name: integration-testing-performance description: Integration testing performance optimization, test parallelization, cleanup strategies, and CI/CD categorization patterns. Use when optimizing test execution speed, managing test data, or structuring tests for automated pipelines.

Integration Testing Performance and Maintainability

Use when speeding up integration suites, keeping data isolated/clean, and tailoring what runs in CI/CD stages.

When to use

  • Parallelizing integration tests with isolated tenants/DbContexts
  • Adding cleanup for shared containers or fixtures
  • Tagging tests for selective CI/CD execution (PR vs main vs nightly vs deploy)
  • Tracking slow/memory-heavy tests and optimizing data setup

Core principles

  • Parallel by default with unique tenant IDs and fresh scopes per test
  • Clean up created data (disposable scopes first; manual cleanup as fallback)
  • Trait tests to slice by category/speed/feature/environment; align pipeline filters
  • Monitor execution time and memory; fail fast on regressions
  • Bulk-create data when needed; share expensive fixtures sparingly

Resources

Default locations

  • Integration tests: tests/GloboTicket.IntegrationTests
  • Shared fixtures/test data helpers: tests/GloboTicket.IntegrationTests/Fixtures or Helpers
  • CI filters: pipeline scripts or dotnet test arguments in scripts/bash|powershell

Validation checklist

  • Parallelization enabled in csproj and safe (isolated tenant IDs, no shared state)
  • Cleanup runs (disposable scopes or explicit) to prevent cross-test pollution
  • Traits applied consistently; pipeline filters match categories/speed
  • Long-running tests have timeouts; memory checks guard bulk ops where relevant
  • Bulk data creation uses single round trips; shared fixtures dispose correctly

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon