Back to list
Dethon

integration-test

by Dethon

An AI agent that leverages OpenRouter models to manage a personal media library.

1🍴 0📅 Jan 23, 2026

SKILL.md


name: integration-test description: Create integration tests. Use when writing tests, testing features, adding test coverage, or verifying functionality. allowed-tools: Read, Glob, Grep, Edit, Write

Creating Integration Tests

Prefer integration tests over mocks. Test real behavior with real dependencies.

Principles

  • Avoid mocks - Use real dependencies or testcontainers
  • Test behavior - Not implementation details
  • Use Shouldly - For readable assertions

Test Location

TypePathWhen to Use
UnitTests/Unit/{Layer}/Pure logic, no external deps
IntegrationTests/Integration/External services, Redis, HTTP

Patterns

See patterns.md for common test patterns:

  • File system tests with temp directories
  • Redis tests with RedisFixture
  • HTTP client tests
  • Testable wrapper pattern

Naming

  • Class: {ClassUnderTest}Tests.cs
  • Method: {Method}_{Scenario}_{ExpectedResult}
[Fact]
public async Task Run_ValidInput_ReturnsExpectedResult()

[Fact]
public void Parse_InvalidFormat_ThrowsArgumentException()

Checklist

  • Using real dependencies (not mocks)
  • Proper cleanup with IDisposable
  • Assertions use Shouldly
  • CancellationToken passed where applicable
  • Test method name describes scenario and expectation

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon