{"_id":"grunt-node-qunit","_rev":"77-5c740b69c33ea61be8fa1895d2d44f0f","name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","dist-tags":{"latest":"2.0.2"},"versions":{"0.0.6":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit (https://github.com/kof/node-qunit)","version":"0.0.6","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.3.12","node-qunit-patch-1":"http://github.com/axemclion/node-qunit/archive/patch-1.tar.gz"},"devDependencies":{"grunt":"~0.3.12"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@0.0.6","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":"grunt-node-qunit@*","dist":{"shasum":"62ac29ff4300e583328a94c852a825644e0e3a48","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-0.0.6.tgz","integrity":"sha512-mpK/CetES5f+UZDU1VXwNn+KM06R9aNdBPCemYqsUo6M9VC1yfU+svqPLaVERqBrH1qjgQQ5K7DByRQzggSb9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUSDUWN7l/FliMmbW1ejQxky9+/ATP8btJlnqx/aEqLwIgSlFH2F4UtB6pS5NezfyWWYc9LfMr4al20Y/y7y2TZ8A="}]},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"}],"directories":{}},"0.0.3":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"0.0.3","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.3.12","qunit":"~0.5"},"devDependencies":{},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@0.0.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":"grunt-node-qunit@*","dist":{"shasum":"dff3d96099c744ff445cbdb5f94a0b727a28ff19","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-0.0.3.tgz","integrity":"sha512-UXyzy/mIsvnn1PRsky+J7SQqKMK3UqEkwFigCwYFLinkvzZVHROTubWa4Wyh/bc4PnDt/g6KGZX3kz4rA+6TVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzRhovNQdaxDDZ3p6PxaHhktCtMqA1MiNplYmxlIniDAiEAzCiglrfYq3v1I/9Ivu/BQPrNBswpekEhOAjz5BYev5A="}]},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"}],"directories":{}},"0.1.0":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"0.1.0","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-saucelabs-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.3.12","qunit":"~0.5.13"},"devDependencies":{"grunt":"~0.3.12"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@0.1.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":"grunt-node-qunit@*","dist":{"shasum":"208a77a75df22c836cea64534356705e5924d708","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-0.1.0.tgz","integrity":"sha512-qvZ+NvPA7kLNia6iwpmokbtEjsF5qiKFTzwI5jlQc+sTdPYsrcTm07ZSWdKAUnrkY/Hj28iZdJmcRX0AX3AQPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZHyrghMz9AwcBJ0h/E2HrxhRX8B8TLeqK4sGi4scPfAiB92NWwqnrgDtWvBttVkuHjeHeTHpll8O7fnr8rzCsnXw=="}]},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"}],"directories":{}},"0.1.1":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"0.1.1","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.3.12","qunit":"~0.5.13"},"devDependencies":{"grunt":"~0.3.12"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@0.1.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":"grunt-node-qunit@*","dist":{"shasum":"a7949065f0e4dfa42c0c124e61826a5ddf5fdf42","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-0.1.1.tgz","integrity":"sha512-C1BmWDYTnSxjtSn73ixelBJt2y0CgkgEy+iivxSHijvaWPWIpFRs+4AQV+DPDK5Vb62htAd2UsaFOE+QXtfRXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7kGrie/SvGdILqdp6vjkyoCCet6zAdpXYnrijEGgQtQIgCB797CMOUzPZWAoUSQCy45elndAwOPUmRjbYXSp04ZE="}]},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"}],"directories":{}},"1.0.0":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"1.0.0","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"grunt":"~0.3.12","qunit":"0.5.15"},"devDependencies":{"grunt":"~0.3.12"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@1.0.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":"grunt-node-qunit@*","dist":{"shasum":"eef247134da8c62522b885be4b0ea04b6a1c58c1","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-1.0.0.tgz","integrity":"sha512-A064Jd5hKM16etQZgzmIWZQeY2nuwxnbT42wr3ZK5hSzwuBtgsMflvma26xnGIegMLzEHNvDHfXUm7ctdMHjLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9VR9BkQzCJSJbu8PNcwNu7STBHuJZlsSOFOFcP3so9AiBVmAWr2X4AuqAi2c44FHfH6ZbnDBE6RzXc2fs/z3da/g=="}]},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"}],"directories":{}},"2.0.0":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"2.0.0","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"qunit":"0.5.15"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.1.1"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@2.0.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.69","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":"grunt-node-qunit@*","dist":{"shasum":"a9f47f99a7454db84ea60695eb364aac35f615f1","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-2.0.0.tgz","integrity":"sha512-xZIorbfUX1nVcm+72DEIh0JCXoC2raSqEvixXqpV6zeVCNi2nTzZuFpwhLHo35vKSzM4RLjgfJw18Wnh+7F5JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEhHP28VpwaTaarg0EqI3+LFEQa9NFRgqdfiON4WVFxAiATGhHuxHdGmtDRIdGC/OhLlf8VDZqoLGYO+FdZC0RpaQ=="}]},"_npmUser":{"name":"axemclion","email":"code@nparashuram.com"},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"}],"directories":{}},"2.0.1":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"2.0.1","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"qunit":"0.5.15"},"peerDependency":{"grunt":"~0.4.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.1.1","npm":"~1.2.12"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@2.0.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.2.12","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":".","dist":{"shasum":"84300ef4096587704eb80053baf1d6bd47c90ec5","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-2.0.1.tgz","integrity":"sha512-fKuxO/sMlWUZg0iXiL3mfoGIbRy/Bymy5YGaxlfbIr19B4ZdX8Jqadl6v6UcarRB3U+RjrLNmc/YMWCqgJyDlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2Gwm/S1tYP0Lu34CTVKWeSZ7yE4B5smqsWq8IeSaImQIgFzeTQUQxviQrUNix/CsGDQeePET5S86ylp65gwSWTmA="}]},"_npmUser":{"name":"axemclion-travis","email":"code@r.nparashuram.com"},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"},{"name":"axemclion-travis","email":"code@r.nparashuram.com"}]},"2.0.2":{"name":"grunt-node-qunit","description":"Grunt task running node-qnuit [https://github.com/kof/node-qunit]","version":"2.0.2","homepage":"https://github.com/axemclion/grunt-node-qunit","author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/axemclion/grunt-node-qunit/blob/master/LICENSE-MIT"}],"main":"grunt.js","bin":{"grunt-node-qunit":"bin/grunt-node-qunit"},"engines":{"node":">=0.6"},"scripts":{"test":"grunt test"},"dependencies":{"qunit":"0.5.16"},"peerDependency":{"grunt":"~0.4.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.1.1","npm":"~1.2.12"},"keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"_id":"grunt-node-qunit@2.0.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.2.32","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"_from":".","dist":{"shasum":"7f8a4a417eeeb250de768b32ba95e56ec9601654","tarball":"https://registry.npmjs.org/grunt-node-qunit/-/grunt-node-qunit-2.0.2.tgz","integrity":"sha512-dgIHFBAzWzqXh8KN8+VcqhSFg8lpHVfrH60nZXq1UYakwG/P8Ya0SGMqRjuw/vXM8U7uoi7aPPYvZH5J85VjNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwEu73e5XjP9JhkjUlMFCvjhCeENFZICNa2qQJrjn8LAiAlactQZnlHKa/DuqgJ8LnNj8Ca6FC9KNEx6gH9bE/EIg=="}]},"_npmUser":{"name":"axemclion-travis","email":"code@r.nparashuram.com"},"maintainers":[{"name":"axemclion","email":"code@nparashuram.com"},{"name":"axemclion-travis","email":"code@r.nparashuram.com"}]}},"readme":"grunt-node-qunit\n\n[![Build Status](https://api.travis-ci.org/axemclion/grunt-node-qunit.png?branch=master)](https://travis-ci.org/axemclion/grunt-node-qunit)\n\n-----------------\n\nA Grunt task for running [node-qunit](https://github.com/kof/node-qunit)\n\n[Grunt](http://gruntjs.com/) is a task-based command line build tool for JavaScript projects, based on nodejs. \n[Node-Qunit](https://github.com/kof/node-qunit) is a Qunit testing framework for nodejs\n[QUnit](http://qunitjs.com/) is a powerful, easy-to-use JavaScript unit test suite used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself! \n\n# About the tool\n\nThe Grunt Node-Qunit task is a wrapper for the node-qunit task to be used in grunt. The parameters used are the exact parameters used with the [node-quit](https://github.com/kof/node-qunit#via-api) package.\n\n## How is this different from [grunt-nodeunit](https://github.com/gruntjs/grunt-contrib-nodeunit)\n\nGrunt NodeUnit task uses the [nodeunit](https://github.com/caolan/nodeunit/) testing framework. The syntax is slightly different and uses the [node-qunit](https://github.com/kof/node-qunit#via-api). The syntax for this task is exactly like the qunit syntax. \n\n#Usage\n\nThis task is available as a [node package](https://npmjs.org/package/grunt-node-qunit) and can be installed as `npm install grunt-node-qunit`. It can also be included as a devDependency in package.json in your node project. \nTo use the task in `grunt.js`, load the npmTask. \n\n\n```javascript\ngrunt.loadNpmTasks('grunt-node-qunit');\n\n``` \n\n__Note that this is *NOT* a multi task. Node-Qunit is used via the API, as described [here](https://github.com/axemclion/grunt-node-qunit.git). \n\n\nThe parameters are \n\n* __setup__ : An object passed to qunit.setup\n* __deps__ : define dependencies, which are required then before code, passed in qunit.run()\n* __code__ : define the code that needs to be tested\n* __tests__: define the test files\n* __done__ : A callback that is called everytime a qunit test for a page is complete. Runs per page, per browser configuration. A true or false return value passes or fails the test, undefined return value does not alter the result of the test. For async results, call `this.async()` in the function. The return of `this.async()` is a function that should be called once the async action is completed.\n\n#Example\n\nInside the grunt.initConfig, add a section\n\n```\n\ngrunt.initConfig({\n\t//....\n\t'node-qunit': {\n\t\tdeps: './src/pouch.js',\n\t\tcode: './src/adapters/pouch.leveldb.js',\n\t\ttests: testFiles.map(function(n){\n\t\t\treturn \"./tests/\" + n;\n\t\t}),\n\t\tdone: function(err, res){\n\t\t\t!err && publishResults(\"node\", res, this.async());\n\t\t}\n\t},\n\t// ....\n}); // end of grunt.initConfig\n\n```\n\n// Elsewhere in the grunt file\ngrunt.loadNpmTasks('grunt-node-qunit');\n","maintainers":[{"name":"axemclion","email":"code@nparashuram.com"},{"name":"axemclion-travis","email":"code@r.nparashuram.com"}],"time":{"modified":"2022-06-18T15:36:08.338Z","created":"2012-11-22T16:50:22.527Z","0.0.6":"2012-11-22T16:50:23.730Z","0.1.0":"2012-12-18T02:59:48.286Z","0.0.3":"2012-11-22T20:35:56.054Z","0.1.1":"2012-12-26T01:48:35.797Z","1.0.0":"2013-01-28T16:01:16.185Z","2.0.0":"2013-02-25T02:52:47.581Z","2.0.1":"2013-03-03T16:44:43.267Z","2.0.2":"2013-07-07T17:01:31.984Z"},"author":{"name":"Parashuram","email":"code@nparashuram.com","url":"http://nparashuram.com"},"repository":{"type":"git","url":"git://github.com/axemclion/grunt-node-qunit.git"},"users":{"fgribreau":true},"homepage":"https://github.com/axemclion/grunt-node-qunit","keywords":["gruntplugin","grunt","node-qunit","qunit","test"],"bugs":{"url":"https://github.com/axemclion/grunt-node-qunit/issues"},"readmeFilename":"README.md"}