Skip to content

v1.0.0

Choose a tag to compare

@gr2m gr2m released this 05 Sep 02:50

1.0.0 (2017-09-05)

Features

  • A scenario is an object (or array of objects) to describe requests
    {
      method: 'get',
      url: 'https://api.github.com/repos/octocat/hello-world',
      headers: {
        Accept: 'application/vnd.github.v3+json'
      }
    }
    
  • For more complex scenarios, asynchronous functions can be used
  • Provides a standalone mock server utilising existing fixtures that all Octokit library developers can use to test against
  • Checks ones per day if GitHub’s APIs have changed (using a Travis cron job). If there are changes, automatically creates (or updates) a pull request that looks like this: gr2m-fixtures-cat/sandbox#18