{"_id":"mochawrapper","_rev":"69-443503c9650af03573e7472af0a7c031","name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","dist-tags":{"latest":"0.0.34"},"versions":{"0.0.0":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.0","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.0","dist":{"shasum":"f30fb1cd91c798f114fe8572ffd6372f9b581101","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.0.tgz","integrity":"sha512-AARGbYMhAMlfjNZl1QCXP28Lkk+3EIKo5Ynt9k/J5Uq+h3zbbkPLWugxS7LSbh2ucyhhocIV7CuYa0Ik7Ox+XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2NN0b12/I3rYj2r9isdFjLyBJ2GNT6GHOW+RKrK+chAiEAg94X9OAyYNWLRmzm76qftfn0q6lnFQVBWBj4bEZiDDs="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.1":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.1","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./node_modules/mocha/bin/mocha","_mocha":"./node_modules/mocha/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.1","dist":{"shasum":"884d035b49e31a4c5006df92437e26e911c337e1","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.1.tgz","integrity":"sha512-7m2OLbi7pwmfYMfAiW3nq4YeJUeYhJKTtDnXTC8XPdJhX+2tmWYsiQvzWm6L1k+pYyn2rTWlElpYHwtDbPrlTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDX+6dFjv+NoIT8ykvSZGWXV43tP2S7hUyGGQqJa9daDAiEAg8PzEiJ0nRM03KuRSeOQUnFrqrRtZ6i+Jy1mmK6cBRk="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.2":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.2","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":".bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.2","dist":{"shasum":"66e2c98e87ec980b278fc9590ee380f848a255e5","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.2.tgz","integrity":"sha512-M5pg/wMvhNutUzb0CcnFLlUpgFpCRaPl7K2TMntfridLyjJke4rb9LX7i6x+0p7LNNk+U1bB0Tn7a8ingEKWlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHYMLLuGVQokR5P1gY+WTk3Ua5yLIUCdxVBUS8FuynlQIhAJ8u0ZxZUIsrwqZh4Qr3GdGa/1uKB3EbI9iJSW1h2ytY"}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.4":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.4","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":".bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.4","dist":{"shasum":"1d58b2f1937d8bd93e4033762dcd2e14cc3e7ee2","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.4.tgz","integrity":"sha512-5TA2MdPvaeJc3NUokuzgjcA7HlJzoCvCpyV+LNBCew/dXnR6VWbLvp3DzFe/X09WYwU2qHMqnq1phlnTMmxkzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvwrEm4T1lNQkg//9vXnI26REcConoHfJEna6cqGZOrAiEA0/5uJ8340Y+itw4+VhQI4qRb73f5nWG3xTlb5hNgiSc="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.5":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.5","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.5","dist":{"shasum":"b6682672d147dc5f9abb2e016962e7fcf50420b0","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.5.tgz","integrity":"sha512-W4zGA1UfiGFkxgQJSI0hA8Y/TGbvdDBB4KzGo+ymig2gkBxnzHLjhDpxDjdEif0jXx1rSqTri5VPkJWX/vutDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI24PpF1tp85WaSVzaBs+Wk6b7Z2b+gxK6c3mxfvRBuAiEA6PMf0x05Ck9WVZ42DbUrgQr+EGTvZmAI06C8D3arBOU="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.6":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.6","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.6","dist":{"shasum":"f031f77d2cc8e26d21c8bcabaeb1429b25a53df6","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.6.tgz","integrity":"sha512-xfNPXhI9wju4+wu6NFREY7vbBIaW88hoDVjXr3uTuU5CenodEOu1k7ZJrKdOHmIU88GVKSNM0rcpznNpg25c/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvGHjBqczizGh3e7CRYMbkd6ei13Tkc7E5SSUM6LKUjAiA2z1pG1Wb0O41eN4BA8skgQndV41KeIZY3orbtEbMBPw=="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.7":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.7","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha2":"./bin/mocha2","mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.7","dist":{"shasum":"3eaba3a54c53aadd70061a8b40a6f01bd520f1db","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.7.tgz","integrity":"sha512-Z0U0vy4wAVx2wt7N9Jppdz0ry6N3IMfMAhLENhqxpHweymNfttR7UcVjNru/kaGfFNr3mlEwXgUYCKJOJirAzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmRsLL+t/wXHOmnba2OEjxvuBegFb1pivQiKOMGBg3uwIhAOW31pD7pJPKCjNXpIW1v9HFb5g4Aao+xI657NDVl79G"}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.8":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.8","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha2":"./bin/mocha2","mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.8","dist":{"shasum":"b449d474d5e95cfb708fb092ac93e9fffa992c7a","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.8.tgz","integrity":"sha512-D7SEGPJ9Z3rsyW4o/2/hJOfi4ZJW2gdsIFYX0fFrCsTyqzNC9E4rz1Ii1HLYKqod7rpBr0IFQRn1vWakOSJ6SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhEUOOsnDD6XhK9la1A6hqZOrL8iq1CTsqS6Yq3V/9FAIgdfHoJpPnjmHhq4aW4JHeUqJ52yqRUcva3thnWTsMJ0g="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.9":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.9","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.9","dist":{"shasum":"fe2de9dcc75b63b2f65f0b059ea281c8ff63e78f","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.9.tgz","integrity":"sha512-LEmH5v+RZG5NKBUMfGiIIJse4lzw80BR77MK9oWzAurzbkoOBdq0hInmmMoiazHZPjziRpnFuetiEMNSVTY1Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8t734mLrQGWUm3TyCstuubXpihu7nKwfX54thmaII6AiEAirIsFAHT2yBzEKof2eFFKszV/jTg7Ac12kKf79Nf8GM="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.10":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.10","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.10","dist":{"shasum":"a5dafb3964a2535269c01fde6de2fb2b0797c192","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.10.tgz","integrity":"sha512-dzVhWvFUUsiUwoutkwFtElS75hCbYtq8wA4hxOlSPZeiOD06gkJCUWwvcIMFrt84QlQw3pXuvaSLnDQsRLJcLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgXUOFtokvxbQioeYMqHPUAKb1/PtIzxMOy9xhj9/TUQIhAIB0qtGJn/NzQA1GktUhuQjNv4g+0faJ1rNLOQlDgK4z"}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.11":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.11","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.11","dist":{"shasum":"4abb532cfe80b6645139c9d4bcbad05b16cfda52","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.11.tgz","integrity":"sha512-Av+oCnr3v0KvUvubal3Xr25quIjBB2+nBCmFb863AJiOoaTOoG96lgaxE5UwDKnkhCrQWYv3KRK5BbydOHpPWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgK+tqkSWpHBU+wTesweAJB55osKNEiQs/sO2VMxJf7AiBzQe7Qrc6yfSMLXAX+DgDOTlqlYwEoTkWDWLtQoaxVQw=="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.12":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.12","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.12","dist":{"shasum":"9eba77a00399e393f4673b748fb58ee1c9f304ff","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.12.tgz","integrity":"sha512-bSJBNEOduHl3v0gKQNks1kLdz+nsY54RCJysnf5wRb2rj80wAo4BqrxdX0tZZo4AOxtGTmbFwosOkIDH7jymSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDTZ1X3Wl62XtcMaK23jSQMlmyODllKrA2LOTKFpgu2GAiEAi3HXxNEqGA54zcXhWF6qVpzMoX4omS2GzrMBZlUgH6o="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.13":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.13","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.13","dist":{"shasum":"1c00c9e67a4ba776ba6be1641f9b0237775e9ed3","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.13.tgz","integrity":"sha512-tgyvBwB4CUNL7NSDnKBVy2jwnFe2t4cl1P52x1s6F7ZsQsYqjIRmMDFVPe5aEUj2bFYErwG92bteB5HEmvxiKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIO0Bv3xw9lcTRonxcobxtJxZxIewdzZ7NDw+Zep0mBwIhAKQDYPrlckGBqiw+lPSqIhd2OXhzNDQnrYDoS4QKXPmF"}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.15":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.15","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n* Automated test coverage report\n* Package consistency test addresses frequent forgotten items\n* Enhanced assertion printouts of actual and expected values\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n\n# Add Mocha Wrapper to Your Project\n\nThis requires modifying package.json, install the module and copying one file.\n\n1\\. In the devDendencies object add mochawrapper:\n\n```json\n\t\"devDependencies\": {\n\t\t\"mochawrapper\": \"\"\n\t},\n```\n\n2\\. In the scripts object add test and monitor:\n\n```json\n\t\"scripts\": {\n\t\t\"test\": \"mocha --ui exports --reporter spec\",\n\t\t\"monitor\": \"mocha --ui exports --reporter min --watch\"\n\t}\n```\n\n3\\. Install mochawrapper\n\n```\nnpm install\n```\n\n4\\. Add the package test by creating a test directory and copying mochawrapper's file package-test/test-package.js there\n\n```\nmkdir test\ncp node_modules/mochawrapper/package-test/test-package.js test\n```\n\n5\\. Test\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 5 tests complete (86ms)\n```\n\n6\\. Continuously test as you update files of your project:\n\n```\nnpm run-script monitor\n```\n\n# Test Coverage Report\n\nAfter adding Mocha Wrapper to your project:\n\n```\nmochacoverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\n# Typical Test\n\nHere are two tests from a test suite. The first one is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Reference\n\nmochacoverage [project folder, default lib]\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.15","dist":{"shasum":"2c94d5f7a6a5c02dde0db1a5d9565643cdbc127c","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.15.tgz","integrity":"sha512-yOFMkWZMYkKRr2WaaMLgpzW9UHm4YMusUlit5gPM941AI7j5mPBGYK54irHTbrsWTLyNIC5MjYKD1ZQkRKVcRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgozGa/b77GWvITkdXnv/Rp7NulEQ7M2xRna4QYp97JAIgC7eQIKUV1m57FFbgZW+qByZAikTwy5Eo7sNm5em5tDA="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.16":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.16","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n* Automated test coverage report\n* Package consistency test addresses frequent forgotten items\n* Enhanced assertion printouts of actual and expected values\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n\n# Add Mocha Wrapper to Your Project\n\nThis requires modifying package.json, install the module and copying one file.\n\n1\\. In the devDendencies object add mochawrapper:\n\n```json\n\t\"devDependencies\": {\n\t\t\"mochawrapper\": \"\"\n\t},\n```\n\n2\\. In the scripts object add test and monitor:\n\n```json\n\t\"scripts\": {\n\t\t\"test\": \"mocha --ui exports --reporter spec\",\n\t\t\"monitor\": \"mocha --ui exports --reporter min --watch\"\n\t}\n```\n\n3\\. Install mochawrapper\n\n```\nnpm install\n```\n\n4\\. Add the package test by creating a test directory and copying mochawrapper's file package-test/test-package.js there\n\n```\nmkdir test\ncp node_modules/mochawrapper/package-test/test-package.js test\n```\n\n5\\. Test\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 5 tests complete (86ms)\n```\n\n6\\. Continuously test as you update files of your project:\n\n```\nnpm run-script monitor\n```\n\n# Test Coverage Report\n\nAfter adding Mocha Wrapper to your project, make sure the project folder is your current working directory and type:\n\n```\nmochacoverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\n## Tip\n\nIf you add /*-cov to .gitignore coverage report folders will not be checked in. Sample content:\n\n```\n/node_modules\n/*-cov\n```\n\n# Typical Test\n\nHere are two tests from a test suite. The first one is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Reference\n\nmochacoverage [project folder, default lib]\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.16","dist":{"shasum":"c1c078e2b04f1f7045202a19ffe4ccca6c403305","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.16.tgz","integrity":"sha512-mVIiMtJnqQ7Bc3M6NZOfIXbfsuFN/3CgAUGkV9qZy5lcrE0VDow3+SJcKblYz2rv5gZUO/12DHa/m9qorGyT5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAeZlZyHakp1je1sm6io7NbfFGZK7hE+2CtxkM6d0dZHAiAlafnr3K0XRjlupl5ZXqyqm4cjnGB2MjtBj38z9HDLEg=="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.17":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.17","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch"},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n* Automated test coverage report\n* Package consistency test addresses frequent forgotten items\n* Enhanced assertion printouts of actual and expected values\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\nmochacoverage\n```\n\nThe system's browser displays the test coverage report for tagfinder. To see test regular results:\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n# Add Mocha Wrapper to Your Project\n\nThis requires modifying package.json, install the module and copying one file.\n\n1\\. In the devDendencies object add mochawrapper:\n\n```json\n\t\"devDependencies\": {\n\t\t\"mochawrapper\": \"\"\n\t},\n```\n\n2\\. In the scripts object add test and monitor:\n\n```json\n\t\"scripts\": {\n\t\t\"test\": \"mocha --ui exports --reporter spec\",\n\t\t\"monitor\": \"mocha --ui exports --reporter min --watch\"\n\t}\n```\n\n3\\. Install mochawrapper\n\n```\nnpm install\n```\n\n4\\. Add the package test by creating a test directory and copying mochawrapper's file package-test/test-package.js there\n\n```\nmkdir test\ncp node_modules/mochawrapper/package-test/test-package.js test\n```\n\n5\\. Test\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 5 tests complete (86ms)\n```\n\n6\\. Continuously test as you update files of your project:\n\n```\nnpm run-script monitor\n```\n\n# Test Coverage Report\n\nAfter adding Mocha Wrapper to your project, make sure the project folder is your current working directory and type:\n\n```\nmochacoverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\n## Tip\n\nIf you add /*-cov to .gitignore coverage report folders will not be checked in. Sample content:\n\n```\n/node_modules\n/*-cov\n```\n\n# Typical Test\n\nHere are two tests from a test suite. The first one is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Reference\n\nmochacoverage [project folder, default lib]\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.17","dist":{"shasum":"84d7fa42ed8e9a9588ae24da4378f4d49d272d00","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.17.tgz","integrity":"sha512-3cKw+BWCzeCVVEV+YerH/1OXWuD9QLmNZ/9gwu0bg/MKle5xpol3ERHgBEsH1c+mpqeYmymqtRCnSO5MGZ/NUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwlnwo9yKz5ufyA3Mc54CsRVt6VMYCcVFjKslX+Hn6kAiEAqbUBQYBcf/h1Qt6s9ADECkYnhqY/BOplBeodn5X+yHU="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.18":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.18","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnode_modules/.bin/mochacoverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `nodemodules/.bin/mochacoverage`\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.18","dist":{"shasum":"00adb3fb8b10f945b84eca56b51e7d765457ce66","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.18.tgz","integrity":"sha512-h4TMMc8V/tm1rw81vgjrmjwLAjEtZCL2TJoIMdD8zjC+2xPx59ArRY2Xzw8HdindH0zKl19IsGZg0SOHxidB1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcNj7OMd9U61kbWPkE0mxd1J2XDaYIy4TQAofQWYoiMgIgFNyiSGjBy5qeT/k34yihpSjWPdyYQtYU3BiYybdOc9U="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.19":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.19","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `nodemodules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.19","dist":{"shasum":"e7cef0f87fc2bf3502a881bf5c808f3a30ec2947","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.19.tgz","integrity":"sha512-5RdPEmHe8mB1oCDEL5VfNUlPPBhT2l6UWMDt5uaUSFuvdKvrVJXGhoeHib06IlUK/0jF8r46FqBsiigkyJlUUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMXbNYm3Q6wJaVCxhYKgk5XQjrJfAOTM3UgH8MwPqcvAiEAwQUHOkvmWCZi/OTULFOUpUk9xWKvMZqLlNPO3lc/xao="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.20":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.20","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `nodemodules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.20","dist":{"shasum":"2b7070af4801857381aa36d10ed86e890eabe193","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.20.tgz","integrity":"sha512-zJ5w9aC2p5veO0qLhW2cKvv1BnGJ1mfbNeHZ2QtsQs/kasLS0pPxdFFnKaYpbVEHkCWGOUTavoK+Emw41CWB9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADhoFqXjm9lJL7qxF+dGGXijLpW3RI1tAUB2fhvuWqhAiBxfClOGboXkN+xd46QxOi3+fp4/WVLoiswfreZQyw4rA=="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.21":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.21","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":"","greatjson":"","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `nodemodules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(expected, actual)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.21","dist":{"shasum":"e046d5ecefc6629cbf31b01edeab6d7cdb84496b","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.21.tgz","integrity":"sha512-Wnx8VEhcKfMb3KUssHR5JgljaTCjU+CGBHnk/Pq1ohGD2OmOy61N02h2sm4cjGmfrs9ABGf78L/+Q4ZOQHplHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmcxBV/Bkg/V1ngjFWzaS3jM2pKStbOb6HxpMaOG/jlQIhAJvxJHtJOz5Dn6kDMNprI7dH4sItHbW83YU18oiCMj0f"}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.22":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.22","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.22","dist":{"shasum":"be419d87f6b1dc36219fa7ef6e76d92d026d250f","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.22.tgz","integrity":"sha512-C5aYldMjFsgkrh6Z+tmreJqHJIR/AUzhPLNdjSMgNHZXtKNuYl7bF5L1J6kD2l9YD1RX94IfzVmtS/CdCA2Uxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEy0TZ9MHRycjoXqtUrfcQeg5TKGDNc9AlI0VISZNRiAiB50RHQa4EQR5qPnmoMo3hm7Je1lIkSwwt7OZiqLJayOA=="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.23":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.23","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.23","dist":{"shasum":"46bdb7aba38da4bfbc45a3129f79a7d639194e80","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.23.tgz","integrity":"sha512-iJc1+LbUQyNJxydFNTO2y3YJIWUTm5VogQP2FtELs3PmmZG78y8Jk3CGAZLDR0uibQ9p3vGHJn+of6dkAimo1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEoaS/dyIMnggdwYRl69Wnca6TOEiEmXog89s7bs0p4AiEAkKunqrVrF6+mplw1qOjdTEP2Tmib5L3rOSW1QyI8Jh0="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.24":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.24","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.24","dist":{"shasum":"8d22fd141207d9cb27afe8ad2e41f49509488c1c","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.24.tgz","integrity":"sha512-S7oHWujzqbxs2YDaPGtHlOjInleIklMj+XaYEHod0OJdped5asV338PsjpIL882mcMW5dbU+kwf4t4HH70gf7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEBfalEq2gMaH+SIDlv5ruPBCwclmeE7wkITTK8Heu5sAiEAkYmdqbODQLUf9Vb0/u6IUaPupKK8f8fb3vVRhmDhpU8="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.25":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.25","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha2":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.25","dist":{"shasum":"40ff551027659b4e0c1f79023e5985356e42c9a2","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.25.tgz","integrity":"sha512-YM/uhQmOQKcBk5mLvWyXED/MqrAduPf9XSor720tqgXeEeZ5UqvrQwbUP3e1+pSqxyvsdWjtGSIG0BlsEX7R0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCikKNLZrchriEcS/vOANY1bvmji+F5l9w8ilGY128RtAIgRXBmBDPvPwAQc9vGlPW/Tn5KODQPnCFapy//RT9AhS0="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.26":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.26","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha2":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.26","dist":{"shasum":"87f4a2f2bd55de528745295d3d4d01326b769479","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.26.tgz","integrity":"sha512-Gz89pzmt+oVWTpVH/1x3kx9Dm6L/oSGv4mww9i/997xByKOhGk6jW0Qi+iq/yG73NUwnH2aZ/Zis08/Ux2EQZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0kELDkKI38866RTlrWPhQ2nC2v0Ax1QGOM4bWwvmWOAIgFRoNdYsh3CX9UysBWzDFkEGopG3BE32CtD26qsreTmM="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.27":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.27","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha2":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.27","dist":{"shasum":"670b831ef7e3edfc50cbf0c33089acd6324050c0","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.27.tgz","integrity":"sha512-5Ho1AIwGHpUN9XQHIgiBzlP8tsC5VesZATyBeUM7rKFjpTcYzBzOMPiWHi0U59SJ1u+o2x5TQovrn/Eu9JtBGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRbSy+8RlpJ9Pe5R8JdJjQO2adJcXnBTE4HCv4ztsgpAiEA5EXN3uxPDObOgC8emo2K5/I2/JURfYLvqQ3uDltoaeE="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.28":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.28","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha2":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.28","dist":{"shasum":"cd40d84a35d39946d1812896783fd7c7e9da4d5b","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.28.tgz","integrity":"sha512-gmmj/J8Ez+Nh0h4CPVdqn6Oj7cH/aGVf6zBP3eD384DRlK7H9xuRFOlerSpVzCZxdfRQw5xHG2hBjmwvPxQAJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKj3YtjcNY3oLbw9qEEpsD6xTkLPHhEksjUXBD/51gTgIhALvgTm6pM5M96lTGhI0Js8x4QaJeTBlAMFRHHxyc2Kv9"}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.29":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.29","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha2":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.29","dist":{"shasum":"f81beff821c0430a4eb577ca45a15c120f1176bb","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.29.tgz","integrity":"sha512-bR3vJ4Nn6MBTKfaxiKLrxrgeMOUV9PEkSCVo/mSoI9PW/saohLrmzSdOSV1cRrgOUo3sm8Eq9J+LRtMJGN8fDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqnVmR/MFJ/AYkOOjujF/EAGlblJdV1+4fIsGeGvbxWAiAw17U+6tBMO6YdYKwqVOKgaSQ80VsqP4bNEuUViKxINQ=="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.30":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.30","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"","haraldutil":">= 0.0.10","greatjson":">= 0.0.6","uglify-js":"","mocha2":""},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.30","dist":{"shasum":"8a8365aa7dd394adcbc60bfb5afea42df871db7b","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.30.tgz","integrity":"sha512-vEdu4ihGW+lmFdnIr8yNSgp1azrIMJSfJbRnbWdxYkgWbDBu9amNe85z2VYcBp6KwzRHEwJ6MGswmjUmoUGMjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRybUEUWeIVdntugkxzl4AO33bsliuhbRJntsj7iaFoQIgUM1Znw3lFi9YiupmitEANDHifCApMdYst82Ph6HmVv4="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.31":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.31","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"*","haraldutil":">= 0.1.5","greatjson":">= 0.0.8","uglify-js":"*","mocha2":"*"},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n* Automated test coverage report\n* Package consistency test looks for frequently forgotten items\n* Automated adding of mocha to your project\n* Enhanced assertion printouts with message, actual and expected values\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.31","dist":{"shasum":"8a8e2e0dca6f1caa6c32fb146e285fb394d35f83","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.31.tgz","integrity":"sha512-t66xweIjbC+Bu5jw2PkRZMxQ/j0dgxwQvq7PpLxwtvxXibGiZELq9BYH0LBEQlZB8S6s2LUVA7r/2WF+Y05Daw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX2Ui9IEnZ23AMDMS+uCYnlwXGh6e3w8dL65k8tgNQoQIgfzz8EAnnYNSz2hxo/AFYF3P5AHpHD8WAcjHbBQMEgd0="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.32":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.32","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"*","haraldutil":">= 0.1.5","greatjson":">= 0.0.8","uglify-js":"<= 1.3.4","mocha2":"*"},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n## Benefits\n\n1. Find untested code via the **code coverage** report\n2. Get **Immediate feedback** by rerunning tests as you save\n3. Run **smoke test** before code push `npm test` to avoid bad pushes\n4. Get testing immediately using **One liner**\n\n## Features\n\n1. Ability to run **coverage tests** anytime without code changes\n2. **Package consistency** test looks for frequently forgotten items\n3. Automated **adding of mocha** to your project\n4. Enhanced **assertion printouts** with message, actual and expected values\n5. **Abbreviated stack traces** compared to the underlying framework\n6. **Resilience** against syntax issues in test files\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.32","dist":{"shasum":"dcaec92d234eafcd64916aa4704643aebccb2e13","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.32.tgz","integrity":"sha512-MQj9r3TP1TK3MYtYPQ7awxUBhbI2tH0qJM3aHJXrgZ/3JyM7MKzTU/DaX97pvZwfIP0CE3dSrJkkECtQulCRZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3t9CHVvYA7aTCZ8uQ9wUnIQ0LCtRcuNSHZXsOxck9oAiEA8iEOUmboYM5njaXqJXB5K5Pstxnguj/gFjnEZQGqArk="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.33":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.33","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"*","haraldutil":">= 0.1.5","greatjson":">= 0.0.8","uglify-js":"<= 1.3.4","mocha2":"*"},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n## Benefits\n\n1. Find untested code via the **code coverage** report\n2. Get **Immediate feedback** by rerunning tests as you save\n3. Run **smoke test** before code push `npm test` to avoid bad pushes\n4. Get testing immediately using **One liner**\n\n## Features\n\n1. Ability to run **coverage tests** anytime without code changes\n2. **Package consistency** test looks for frequently forgotten items\n3. Automated **adding of mocha** to your project\n4. Enhanced **assertion printouts** with message, actual and expected values\n5. **Abbreviated stack traces** compared to the underlying framework\n6. **Resilience** against syntax issues in test files\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.33","dist":{"shasum":"e6c5830ea5e0a47d2fc7d3948ed5c791abbf2d98","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.33.tgz","integrity":"sha512-Aw0tqJTCjiuwQi2sIm/P0nsCU9PNeDrCJyXE04jj1iMIEUqQvjzSOVd6OGgizHr64X0ldKqmDp0uPIF3j+qC3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjTjUYfvJ0jJlxn07ebqDMnfXfne5gjfzjTWTr5mxE/gIgRsUcug2QRlk4f9+3Qw1utZYt4NJnrIGyxwdUzNB6a7U="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]},"0.0.34":{"name":"mochawrapper","description":"Easy testing using mocha and assert by Harald Rudell","author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"keywords":["test","bdd","tdd","mocha","assert","nodeunit"],"homepage":"https://github.com/haraldrudell/mochawrapper","version":"0.0.34","contributors":[{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"}],"dependencies":{"jade":"*","haraldutil":">= 0.1.5","greatjson":">= 0.0.8","uglify-js":"<= 1.3.4","mocha2":"*"},"devDependencies":{},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"},"bin":{"mocha":"./bin/mocha","_mocha":"./bin/_mocha","mochacoverage":"./bin/mochacoverage","addmocha":"./bin/addmocha"},"main":"lib/mochawrapper","scripts":{"test":"mocha --ui exports --reporter spec","monitor":"mocha --ui exports --reporter min --watch","debugtest":"mocha --debug-brk --ui exports --reporter spec","coverage":"mochacoverage"},"readme":"# Mocha Wrapper\n\nThe [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) module makes testing with mocha and assert very easy.\n\n## Benefits\n\n1. Find untested code via the **code coverage** report\n2. Get **Immediate feedback** by rerunning tests as you save\n3. Run **smoke test** before code push `npm test` to avoid bad pushes\n4. Get testing immediately using **One liner**\n\n## Features\n\n1. Ability to run **coverage tests** anytime without code changes\n2. **Package consistency** test looks for frequently forgotten items\n3. Automated **adding of mocha** to your project\n4. Enhanced **assertion printouts** with message, actual and expected values\n5. **Abbreviated stack traces** compared to the underlying framework\n6. **Resilience** against syntax issues in test files\n\n## Add to my project NOW\n\n**Simply add mocha :)**\n\n```js\nnpm install mochawrapper; node_modules/.bin/addmocha; npm test\n```\n\n```\n> mochawrapper@0.0.18 test /home/foxyboy/Desktop/c505/node/mochawrapper\n> mocha --ui exports --reporter spec\n...\n```\n\nThe `addmocha` command updates .gitignore, package.json and the test folder in a  safe manner so testing can start immediately from a single dependency.\n\n\nImagine yourself, at blood, toil, tears and sweat, supported by the sweet mocha every time you save your work:\n\n```js\nnpm run-script monitor\n```\n\n```\n  debugger:1 found in 'lib/passportwrapper.js'\nFiles checked for syntax: javascript:27, json:1 in 0.1 s\n\n  ✔ 8 tests complete (150ms)\n\n  ◡ watching\n```\n\n## SHOW ME RIGHT, RIGHT NOW\n\nA project using mochawrapper is [tagfinder](https://github.com/haraldrudell/tagfinder):\n\n```\ngit clone https://github.com/haraldrudell/tagfinder\ncd tagfinder\nnpm install\n\nnpm test\nnpm run-script coverage\n```\n\nThe system’s browser displays the test coverage report for tagfinder.\n\n## Automatic Coverage Report\n\n`npm run-script coverage` displays a test coverage report by opening a tab or window in the system’s browser. There is no need to modify any code to run coverage, and you can continuously use it as a guide for further areas to test.\n\n# Reference\n\n## Continuous Testing\n\n`npm run-script monitor` continuously displays current test results and rerun the tests as you save your sourcefiles.\n\n## Test Everything\n\n`npm test` runs all the tests in the test folder.\n\n## Debug Tests\n\n`npm run-script debugtest` runs all tests using the debugger. By inserting JavaScript’s debugger statement at strategic locations you can run to the exact location where there is something funky going on.\n\n## Coverage Report\n\n```\nnpm run-script coverage\n\nmochacoverage Preparing an automated test coverage report\nmochacoverage Invoking jsCoverage\nmochacoverage Running tests\nFiles checked for syntax: javascript:9, json:1 in 0.1 s\nmochacoverage Preparing report\nmochacoverage Launching browser\nmochacoverage Complete\n```\n\nThis does coverage analysis of JavaScript files in the project's lib folder. When complete, Mocha Wrapper launches a new tab in the system default browser containing JavaScript source code. Lines marked red were not executed.\n\nThe report can also be invoke using `node_modules/.bin/mochacoverage` or simply `mochacoverage` if you have updated your PATH. For both of these methods, you can add a top-level folder other than `lib`.\n\n## Getting jscoverage\n\nThe [jsCoverage](http://siliconforks.com/jscoverage/) command is required.\n\n```\njscoverage --version\njscoverage 0.5.1\n```\n\n* Linux has a jscoverage package: `sudo apt-get install jscoverage`\n* Windows: [jsCoverage](http://siliconforks.com/jscoverage/) site has zip to download\n* Mac: `sudo macports install jscoverage`\n* There is a [github node-jscoverage](https://github.com/visionmedia/node-jscoverage) if you have a C compiler installed.\n\n## Regular Test Output\n\n```\nnpm test\n\n> tagfinder@0.1.0 test /home/foxyboy/Desktop/c505/node/tf\n> mocha --ui exports --reporter spec\n\n  Empty Markup\n    ✓ Can compile undefined \n    ✓ Can compile empty string \n\n  Parsing\n    ✓ Can remove html comments \n    ✓ Can find opening tags \n    ✓ Empty attributes \n    ✓ Unquoted attributes \n    ✓ Quoted attributes \n    ✓ Unescaped content: script and textarea \n    ✓ Closing tag in unescaped content \n    ✓ MathML \n    ✓ cdata section \n    ✓ svg \n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:3, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (87ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 16 tests complete (102ms)\n```\n\n## Tip\n\nAdd `node_modules/.bin` to your PATH environment variable to run executable scripts from your modules.\n\n# Test Examples\n\nHere are two tests from a test suite. The first test is regular code, and the second test features a callback.\n\n```js\nvar assert = require('mochawrapper')\n\nexports['Array Length:'] = {\n\t'array.length returns a number': function () {\n\t\tvar expected = 'number'\n\t\tvar actual = typeof [].length\n\t\tassert.equal(actual, expected)\n\t},\n\t'Testing with callback (asynchronous)': function (done) {\n\t\tsetTimeout(completeWhenThisExecutes, 100)\n\t\tconsole.log('background complete')\n\t\tfunction completeWhenThisExecutes() {\n\t\t\tconsole.log('finishing test')\n\t\t\tdone()\n\t\t}\n\t}\n}\n```\nSave the tests as a .js file in the project's test folder.\n\n\n```\nnpm test\n\n> cloudclearing@0.0.2 test /home/foxyboy/Desktop/c505/node/cloudclearing\n> mocha --ui exports --reporter spec\n\n\n  Array Length:\n    ✓ array.length returns a number \n    ◦ Testing with callback (asynchronous): background complete\nfinishing test\n    ✓ Testing with callback (asynchronous) (111ms)\n\n  Package Consistency:\n    ◦ Proper JavaScript and json syntax: Files checked for syntax: javascript:16, json:1 in 0.1 s\n    ✓ Proper JavaScript and json syntax (79ms)\n    ✓ Package descriptor file \n    ✓ git ignore declaration \n    ✓ Readme \n\n\n  ✔ 7 tests complete (198ms)\n```\n\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote mochawrapper for node in August, 2012\n\n* Mochawrapper wraps and extends **mocha**, a testing framework by [TJ Holowaychuk ](http://tjholowaychuk.com/)\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","_id":"mochawrapper@0.0.34","dist":{"shasum":"6345fec128f1c10f2e5e193d39c4cde5d856c5f5","tarball":"https://registry.npmjs.org/mochawrapper/-/mochawrapper-0.0.34.tgz","integrity":"sha512-pnrd6eO2uu2zTkxvtQ1r599vRMbLxj8gNI98bvFwhD9jhNqcNzxCHYrBA+XsvDGE2Q+YikBNKMmhSR1sVCBDAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2vcHRRL8f1I2qpilIv8h+Z3RV6wmewIe6anJ4hgX0DAiEAoxH6BvDSXA7PTZMbHAuuEB+WiksMfctQuYci5Kt2COE="}]},"maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}]}},"readme":"# Mocha Wrapper\n\nThe mochawrapper modules makes testing with mocha and assert easier.\n\n## Get It Now\n\n* [Mocha Wrapper](https://github.com/haraldrudell/mochawrapper) is on github\n# Notes\n\n© [Harald Rudell](http://www.haraldrudell.com) wrote this for node in August, 2012\n\nNo warranty expressed or implied. Use at your own risk.\n\nPlease suggest better ways, new features, and possible difficulties on [github](https://github.com/haraldrudell/mochawrapper)","maintainers":[{"name":"haraldrudell","email":"harald@therudells.com"}],"time":{"modified":"2022-06-20T01:55:08.896Z","created":"2012-08-21T22:44:15.489Z","0.0.0":"2012-08-21T22:44:17.108Z","0.0.1":"2012-08-21T23:01:50.689Z","0.0.2":"2012-08-21T23:08:13.645Z","0.0.4":"2012-08-22T00:03:31.378Z","0.0.5":"2012-08-22T00:05:26.259Z","0.0.6":"2012-08-22T00:05:56.261Z","0.0.7":"2012-08-22T00:13:48.412Z","0.0.8":"2012-08-22T00:16:40.196Z","0.0.9":"2012-08-22T00:17:29.440Z","0.0.10":"2012-08-22T00:19:27.279Z","0.0.11":"2012-08-22T00:26:54.754Z","0.0.12":"2012-08-22T00:30:39.186Z","0.0.13":"2012-08-22T00:35:20.365Z","0.0.15":"2012-08-22T05:54:41.011Z","0.0.16":"2012-08-22T07:10:54.009Z","0.0.17":"2012-08-22T08:23:16.218Z","0.0.18":"2012-08-25T09:33:10.580Z","0.0.19":"2012-08-25T09:44:31.154Z","0.0.20":"2012-08-25T09:59:11.667Z","0.0.21":"2012-08-25T10:10:54.075Z","0.0.22":"2012-08-27T07:42:23.398Z","0.0.23":"2012-08-27T08:00:45.414Z","0.0.24":"2012-08-27T14:55:27.539Z","0.0.25":"2012-08-31T20:02:55.884Z","0.0.26":"2012-08-31T20:10:13.836Z","0.0.27":"2012-08-31T20:24:25.922Z","0.0.28":"2012-08-31T20:41:44.011Z","0.0.29":"2012-08-31T21:25:59.719Z","0.0.30":"2012-09-03T23:52:17.650Z","0.0.31":"2012-09-04T02:13:02.125Z","0.0.32":"2012-12-22T08:01:48.068Z","0.0.33":"2012-12-23T16:22:40.078Z","0.0.34":"2013-01-07T03:37:20.971Z"},"author":{"name":"Harald Rudell","email":"harald@allgoodapps.com","url":"http://www.haraldrudell.com"},"repository":{"type":"git","url":"https://haraldrudell@github.com/haraldrudell/mochawrapper.git"}}