{"name":"referee","version":"1.0.1","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_modules/buster/bin/buster-test --node"},"dependencies":{"lodash":"~1.0","samsam":"~1.0","bane":"~1.0"},"devDependencies":{"sinon":">=1.4","buster-util":">=0.5"},"_id":"referee@1.0.1","dist":{"shasum":"a321b0dd3657b93f7af632d9c62538f8916d8dc4","tarball":"http://registry-npm.ywwl.com/referee/download/referee-1.0.1.tgz","integrity":"sha512-oAZuoqLGLYqODiMtgLlLAwtMHHZ6BHbFWR2o2bJz2ijF6db7RPUtOsRrhMt1+nVoKmBjLC1/xIsyq388uVvFFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECYE1qvLF2UB16jCJgR7CRmp5YGdG5N4xUFPdzkS4YgAiA+k5hEqF/0C+P/UYyqAYgCGFSZ4sQNcbIp3YuzcnIEQA=="}],"size":17866,"noattachment":false,"key":"/referee/-/referee-1.0.1.tgz"},"maintainers":[{"name":"cjohansen","email":"christian@cjohansen.no"}],"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":1379885863032,"_cnpm_publish_time":1379885863032,"dist-tags":{"latest":"1.2.0"}}