Skip to content

Investigate better GitHub mocking for tests #30

@oldsj

Description

@oldsj

Problem

Need better approaches for mocking GitHub in tests.

Areas to Investigate

  • GitHub API mocking libraries/tools
  • Local GitHub server alternatives (e.g., mock servers, gitea)
  • Fixture-based approaches for common GitHub responses
  • Integration test strategies that minimize real API calls
  • Rate limit handling in test environments

Goals

  • Faster, more reliable tests
  • No dependency on real GitHub API during test runs
  • Realistic mock responses that match actual GitHub behavior
  • Easy to maintain and update mocks

Questions to Answer

  • What are other projects using for GitHub mocking?
  • Should we use a local git server vs API mocking?
  • How do we handle webhook testing?
  • What's the right balance between mocked vs real integration tests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions