Skip to content

Add unit tests for GitHub pagination #1132

Description

@joshsmith

Problem

We need to add unit tests for the GitHub.API pagination that actually test that it paginates.

  • Probably need to be able to specify per_page and status in the options
  • Probably mock the returned headers
  • Probably needs to be multiple fixtures for each page of the response
  • Must test at least 3 pages to be able to get the full testing benefit here
  • Should use the baxterthehacker/public-repo stub repository for response fixtures

Blocked by #1131

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions