bugzilla-fixtures

0.0.1 • Public • Published

bugzilla-fixtures

Bugzilla fixtures for shepherd tests

Factories

Factories are based on object-factory... The top level module exposes the following factories:

  • Bug
  • Flag
  • Attachment
  • SuggestedReviewer

All factories follow the design in the rest bugzilla api.

Usage

// single fixture
var Bug = require('bugzilla-fixtures/bug');
 
var myBug = Bug.create();

All the properties on the bug can be overridden and overrides are done with a deep merge.

To best figure out how to use the factories you should actually read the factory files and maybe use the object viewer (see make test for output).

Readme

Keywords

none

Package Sidebar

Install

npm i bugzilla-fixtures

Weekly Downloads

2

Version

0.0.1

License

Apache2

Last publish

Collaborators

  • lights-of-apollo