Back to list
thinceller

api-testing

by thinceller

management dotfiles

4🍴 0📅 Jan 24, 2026

SKILL.md


name: API Testing description: This skill should be used when the user asks to "test an API", "write API tests", "mock API responses", "validate API endpoints", or needs guidance on REST API testing strategies.

API Testing

This skill provides guidance for testing REST APIs effectively.

Quick Start

Test a simple endpoint:

curl -X GET https://api.example.com/users \
  -H "Authorization: Bearer $TOKEN"

Testing Workflow

  1. Identify endpoints - List all endpoints to test
  2. Set up test environment - Configure base URL, auth tokens
  3. Write test cases - Cover success, error, edge cases
  4. Run tests - Execute and collect results
  5. Validate responses - Check status codes, body, headers

Common Test Cases

Success Cases

  • Valid request returns expected data
  • Pagination works correctly
  • Filtering/sorting produces correct results

Error Cases

  • Invalid auth returns 401
  • Missing required fields return 400
  • Non-existent resource returns 404
  • Rate limiting returns 429

Edge Cases

  • Empty results return empty array, not null
  • Large payloads handled correctly
  • Special characters in inputs escaped properly

Response Validation

Check these elements:

  • Status code: 200, 201, 400, 401, 404, 500
  • Response body: JSON structure matches schema
  • Headers: Content-Type, pagination headers
  • Timing: Response within acceptable limits

Additional Resources

For detailed testing patterns and advanced techniques:

  • references/detailed-guide.md - Comprehensive testing patterns, authentication strategies, and mock server setup

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