{"_id":"spec","_rev":"13-e04b8cc9c4e165eb06a3d1f381d27542","name":"spec","description":"An event-driven JavaScript unit testing library.","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0rc3":{"name":"spec","version":"1.0.0rc3","description":"An event-driven JavaScript unit testing library.","homepage":"http://github.com/kitcambridge/spec","main":"./lib/spec","keywords":["unit","test","testing","event","spec","suite","assert"],"licenses":[{"type":"MIT","url":"http://kitcambridge.github.com/spec/LICENSE"}],"author":{"name":"Kit Cambridge","url":"http://kitcambridge.github.com"},"maintainers":[{"name":"kitcambridge","email":"kitcambridge@me.com"}],"bugs":{"url":"http://github.com/kitcambridge/spec/issues"},"repository":{"type":"git","url":"git://github.com/kitcambridge/spec.git"},"_npmUser":{"name":"kitcambridge","email":"kitcambridge@me.com"},"_id":"spec@1.0.0rc3","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"0a5a5623464d9e8c257049996a3fdb31c062d08f","tarball":"https://registry.npmjs.org/spec/-/spec-1.0.0rc3.tgz","integrity":"sha512-ChxyRTL8DmlMvlw2COnTrted/4u/mVVzoJUFGaXVHHFuL8CUiezBxYH8E0ziKOJdjLD5BccIptZ9oUVJfbxWMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCoz8/ruOBnuUkoPkstkYDAmrtTzxCcwKDDA1LUtxEWAiAozm7EFep1HNE8hWCz9tO6o9BwpII7vxtNwGS9wstKNg=="}]}},"1.0.0rc4":{"name":"spec","version":"1.0.0rc4","description":"An event-driven JavaScript unit testing library.","homepage":"http://github.com/kitcambridge/spec","main":"./lib/spec","keywords":["unit","test","testing","event","spec","suite","assert"],"licenses":[{"type":"MIT","url":"http://kitcambridge.github.com/spec/LICENSE"}],"author":{"name":"Kit Cambridge","url":"http://kitcambridge.github.com"},"maintainers":[{"name":"kitcambridge","email":"kitcambridge@me.com"}],"bugs":{"url":"http://github.com/kitcambridge/spec/issues"},"repository":{"type":"git","url":"git://github.com/kitcambridge/spec.git"},"_npmUser":{"name":"kitcambridge","email":"kitcambridge@me.com"},"_id":"spec@1.0.0rc4","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"5b3412162bacca7ee17afab127de2f176062460c","tarball":"https://registry.npmjs.org/spec/-/spec-1.0.0rc4.tgz","integrity":"sha512-yQmQQOkMbpZd7vnFdIiOObl+Q6W7TmcxUB5PbY5r+oLCF9TpvFbSs9Ch3cCUtd278/ZjN5etAC7xq+ME/gFIPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtSeNGz5QlBvkOTn4unAz6EBuFR1bu3ssWfc6NHsXZbAiEA8PpwnJ3HRFLwNL8q8dbBn3lc0VVq1YjTlijeJ8uPXeg="}]}},"1.0.0":{"name":"spec","version":"1.0.0","description":"An event-driven JavaScript unit testing library.","homepage":"http://github.com/kitcambridge/spec","main":"./lib/spec","keywords":["unit","test","testing","event","spec","suite","assert"],"licenses":[{"type":"MIT","url":"http://kit.mit-license.org/"}],"author":{"name":"Kit Cambridge","url":"http://kitcambridge.github.com"},"maintainers":[{"name":"kitcambridge","email":"kitcambridge@me.com"}],"bugs":{"url":"http://github.com/kitcambridge/spec/issues"},"scripts":{"test":"node test/test_spec.js"},"repository":{"type":"git","url":"git://github.com/kitcambridge/spec.git"},"_id":"spec@1.0.0","dist":{"shasum":"57e719038f96c838fa2cea1abe60cc5c89ff71a4","tarball":"https://registry.npmjs.org/spec/-/spec-1.0.0.tgz","integrity":"sha512-V2zMnEQGQKTPJWh1QfOv7hw0/eD6A8jV+J7NUB2OhTw48uuoI5ybplSmTKNq4+1DltvaAxdMAnuviUyjjAUabA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBk/52Ev911ONBRducN1R2o06I3HuJnrzY/J3beGKdOXAiALK+KK/s5RDYjzkQQrY+sVKsjBAwCTS3RPnV1G+eHWCw=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"kitcambridge","email":"github@kitcambridge.be"}},"1.0.1":{"name":"spec","version":"1.0.1","description":"An event-driven JavaScript unit testing library.","homepage":"http://github.com/kitcambridge/spec","main":"./lib/spec","keywords":["unit","test","testing","event","spec","suite","assert"],"licenses":[{"type":"MIT","url":"http://kit.mit-license.org/"}],"author":{"name":"Kit Cambridge","url":"http://kitcambridge.be/"},"maintainers":[{"name":"kitcambridge","email":"kitcambridge@me.com"}],"bugs":{"url":"http://github.com/kitcambridge/spec/issues"},"scripts":{"test":"node test/test_spec.js"},"repository":{"type":"git","url":"git://github.com/kitcambridge/spec.git"},"files":["README.md","LICENSE","lib/spec.js","lib/newton.js","src/newton.css"],"jam":{"main":"./lib/spec.js","includes":["README.md","LICENSE","lib/spec.js","lib/newton.js","src/newton.css"]},"volo":{"type":"directory","ignore":[".*","component.json","bower.json","docs","test"]},"_id":"spec@1.0.1","dist":{"shasum":"dbf7504aa1fc3fb295b64f2f87fed79096bc1b04","tarball":"https://registry.npmjs.org/spec/-/spec-1.0.1.tgz","integrity":"sha512-sPvcBgmGPBA3yebmoUQqE859OTVSxvTxXdUrFXbQAp0qqkHcK/EpkK3c3lWuGIXH7yWE07+zPjlFKt7WL3/HZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRt1HHdLUR7fVvCpNE7w6SUmoEUSL8Vr9Jl1i0a2/18AIgLGuroHSM2hQRhg8W664CEHDHQMmISQ58PDoJ5vvjeNU="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"kitcambridge","email":"github@kitcambridge.be"}}},"readme":"Spec\n====\n\n[![Build Status](https://secure.travis-ci.org/kitcambridge/spec.png)](http://travis-ci.org/kitcambridge/spec)\n\n**Spec** is an event-driven unit testing library. It provides several convenience methods for writing unit tests, and includes a configurable test runner that allows you to create routines for setting up and tearing down tests, handling assertions, failures, and errors, and logging test results.\n\nSpec is environment and framework-agnostic: it has no external dependencies, and is compatible with web browsers, [CommonJS](http://www.commonjs.org/) environments, and JavaScript engines. It is also capable of testing both synchronous and asynchronous code.\n\n## Downloads\n\n**Current Version**: [1.0.1](http://kitcambridge.github.io/spec/lib/spec.js)\n\nIf you're a [Node](http://nodejs.org/) user, Spec is available on [npm](http://npmjs.org/):\n\n    $ npm install spec\n\nThe [annotated source code](http://kitcambridge.github.io/spec/docs/index.html) is available for your perusal.\n\n## Compatibility\n\nSpec has been **tested** with the following web browsers, CommonJS environments, and JavaScript engines.\n\n### Web Browsers\n\n- Windows [Internet Explorer](http://www.microsoft.com/windows/internet-explorer), version 6.0 and higher\n- Mozilla [Firefox](http://www.mozilla.com/firefox), version 1.0 and higher\n- Apple [Safari](http://www.apple.com/safari), version 2.0 and higher\n- Google [Chrome](http://www.google.com/chrome), version 1.0 and higher\n- [Opera](http://www.opera.com) 7.02 and higher\n- [Mozilla](http://www.mozilla.org/projects/browsers.html) 1.0, [Netscape](http://browser.netscape.com/releases) 6.2.3, and [SeaMonkey](http://www.seamonkey-project.org/) 1.0 and higher\n\n### CommonJS Environments\n\n- Node 0.2.6 and higher\n- [Narwhal](http://narwhaljs.org/) 0.3.2 and higher\n- [RingoJS](http://ringojs.org/) 0.4 and higher\n\n### JavaScript Engines\n\n- Mozilla [SpiderMonkey](http://www.mozilla.org/js/spidermonkey), version 1.5.0 and higher\n- Mozilla [Rhino](http://www.mozilla.org/rhino) 1.5R5 and higher\n- WebKit [JSC](https://trac.webkit.org/wiki/JSC)\n- Google [V8](http://code.google.com/p/v8)\n\n## Contributing to Spec\n\nCheck out a working copy of the Spec source code with [Git](http://git-scm.com/):\n\n    $ git clone git://github.com/kitcambridge/spec.git\n\nIf you'd like to contribute a feature or bug fix, you can [fork](http://help.github.com/forking/) Spec, commit your changes, and [send a pull request](http://help.github.com/pull-requests/). Please avoid submitting patches that are application- or environment-specific; Spec doesn't try to cover every possible testing scenario. Please make sure to update the unit tests in the `test` directory as well.\n\nAlternatively, you may use the [GitHub issue tracker](http://github.com/kitcambridge/spec/issues) to submit bug reports and feature requests. For the former, please make sure that you detail how to reproduce the bug, *including the environments that exhibit it*.\n\n### Coding Guidelines\n\nIn addition to the following [Prototype-inspired](http://prototypejs.org/contribute) guidelines, please follow the conventions already established in the code.\n\n- **Spacing**: Use two spaces for indentation. No tabs.\n- **Naming**: Keep variable and method names concise but descriptive. `index` and `callback` are preferable to `i` and `fn`.\n- **Functions**: Use [named function expressions](http://kangax.github.com/nfe/) to aid in debugging. Avoid anonymous functions.\n- **Comments**: Significant changes and new methods should be annotated with comments.\n- **Lint**: Make sure that your changes pass [JSHint](http://jshint.com/). A configuration file is included in the repository; to check the source code for problems, install the JSHint command-line utility via `{sudo} npm install -g jshint` and run `jshint`.\n\n### Contributors\n\n- [John-David Dalton](http://allyoucanleet.com/)\n- [Mathias Bynens](http://mathiasbynens.be/)\n- [Oskar Schöldström](http://www.oxy.fi/)\n\n## MIT License\n\nCopyright &copy; 2011-2014 [Kit Cambridge](http://kitcambridge.be/).\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"kitcambridge","email":"kitcambridge@me.com"}],"time":{"modified":"2022-06-26T22:41:44.106Z","created":"2012-02-25T20:27:49.377Z","1.0.0rc3":"2012-02-25T20:27:50.323Z","1.0.0rc4":"2012-02-25T22:06:12.852Z","1.0.0":"2013-07-26T14:29:24.099Z","1.0.1":"2014-01-20T05:44:45.460Z"},"author":{"name":"Kit Cambridge","url":"http://kitcambridge.be/"},"repository":{"type":"git","url":"git://github.com/kitcambridge/spec.git"},"readmeFilename":"README.md"}