{"name":"referee","version":"1.0.3","description":"Assertions for any JavaScript test framework and environment","homepage":"http://busterjs.org/docs/referee","author":{"name":"Christian Johansen"},"contributors":[{"name":"Christian Johansen","email":"christian@cjohansen.no","url":"http://cjohansen.no"},{"name":"August Lilleaas","email":"august.lilleaas@gmail.com","url":"http://augustl.com"},{"name":"Dave Geddes","email":"davidcgeddes@gmail.com"},{"name":"Malcolm Locke","email":"malc@wholemeal.co.nz"},{"name":"Stein Magnus Jodal","email":"stein.magnus@jodal.no"}],"main":"./lib/referee","repository":{"type":"git","url":"https://github.com/busterjs/referee"},"scripts":{"test":"node node_modules/buster/bin/buster-test --node","test-debug":"node --debug-brk node_modules/buster/bin/buster-test --node","start":"node node_modules/buster/bin/buster-server","test-browser":"node node_modules/buster/bin/buster-test --browser"},"dependencies":{"lodash":"~1.0","samsam":"~1.1","bane":"~1.0"},"devDependencies":{"sinon":">=1.4","buster":"*"},"bugs":{"url":"https://github.com/busterjs/referee/issues"},"_id":"referee@1.0.3","dist":{"shasum":"c0eb79bb1fddc1b4288a7866076d1be779e646f3","tarball":"http://registry-npm.ywwl.com/referee/download/referee-1.0.3.tgz","integrity":"sha512-F00Kd8GDNrf9ajZ/0ybUQYGoW2Vawrdx77yAfIap27A7ofwgt9k39kC44Gq3Q57urtNViuV1WOT207NXKPIP/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9u7zJ/A8zmj4Gtd+sDfI8yng/c3sQVf3qTo2S0Wy3OAiAPntXlni2DlnxFHV4ysh9WE+8e7lcM4HqYM5X/HqwBrA=="}],"size":17912,"noattachment":false,"key":"/referee/-/referee-1.0.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dwittner","email":"d.wittner@gmx.de"},"maintainers":[{"name":"cjohansen","email":"christian@cjohansen.no"},{"name":"augustl","email":"august@augustl.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"directories":{},"deprecated":"This package has been deprecated in favor of @sinonjs/referee","readme":"# referee\n\n[![Build status](https://secure.travis-ci.org/busterjs/referee.png?branch=master)](http://travis-ci.org/busterjs/referee)\n\n**referee** is in your unit tests, deciding who passes and who fails.\n\nIt is a test-framework agnostic assertion and expectation library.\nSome highlights:\n\n- Rich library of assertions\n- Symmetric assert/refute (refute is **referee**'s \"assert.not*\")\n- Evented: Emits success and failure events\n- Failing assertions throw exceptions by default, but can be configured to not\n- API to add custom assertions that provides quite a bit of plumbing for free\n\nFull documentation:\n[docs.busterjs.org/en/latest/modules/referee](http://docs.busterjs.org/en/latest/modules/referee/).\n\n**referee** works in browsers (including old and rowdy ones, like IE6) and Node.\nIt will define itself as an AMD module if you want it to (i.e. if there's a\n`define` function available).\n\n\n## Changelog\n\n**1.2.0** (2015-Nov-16)\n\n* Updated dependencies [#13](https://github.com/busterjs/referee/pull/13)\n* Added license info in package.json [#12](https://github.com/busterjs/referee/pull/12)\n* A `test` method on assertions, returning a promise which is resolved, when assertion passes, and rejected when it fails; relies on a `Promise` global (shimmable) [#9](https://github.com/busterjs/referee/pull/9) \n\n**1.1.1** (2014-Dec-12)\n\n* part of fix for issue [#274 - quoting in assertion failures](https://github.com/busterjs/buster/issues/274)\n\n**1.1.0** (2014-Oct-31)\n\n* fix for issue [#402 - referee.expect fails if path.resolve gets stubbed](https://github.com/busterjs/buster/issues/402)\n\n**1.0.3** (2014-Apr-30)\n\n* fix for issue [#387 - Referee: assert.exception does not check exception type (when given as string)](https://github.com/busterjs/buster/issues/387)\n\n\n## Developers - Running tests\n\n### Node\n\n  1. `npm install` - installs dev dependencies\n  1. `npm test` - runs node tests\n\n### Browsers\n\n  1. `npm install` - installs dev dependencies\n  1. `npm start` - starts buster server\n  1. open url [localhost:1111/capture](http://localhost:1111/capture) in the browser(s) you want to test with\n  1. `npm run-script test-browser` - runs browser tests\n","publish_time":1398876876671,"_cnpm_publish_time":1398876876671,"dist-tags":{"latest":"1.2.0"}}