node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »


Github Fixtures

Github fixtures for shepherd tests.


All fixtures are based on the github api docs

  • Commit
  • PullRequest
  • PullRequestRef
  • Repo
  • User
  • Link
var Repo = require('github-fixtures/repo');
    User = require('github-fixtures/user');
    PullRequest = require('github-fixtures/pull_request'),
    Commit = require('github-fixtures/commit');
  // deep merge happens in all the object operations 
  owner: { login: 'woot!' },

See object factory for usage of factories.

Viewing contents of fixture

  1. Clone the repo
  2. npm install
  3. ./node_modules/.bin/object-factory-viewer repo.js (replace repo.js with whatever you want to see)