forked from tolu/grunt-jstestdriver-phantomjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 3.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "grunt-jstestdriver-phantomjs",
"description": "[MODIFIED] Grunt task for unit testing with jsTestDriver and PhantomJS.",
"version": "0.0.7-cs",
"homepage": "https://github.com/tolu/grunt-jstestdriver-phantomjs",
"author": {
"name": "Tobias Lundin",
"email": "[email protected]"
},
"contributors": [
{
"name": "Anders Karlsson",
"email": "[email protected]"
}
],
"repository": {
"type": "git",
"url": "git://github.com/tolu/grunt-jstestdriver-phantomjs.git"
},
"bugs": {
"url": "https://github.com/tolu/grunt-jstestdriver-phantomjs/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/tolu/grunt-jstestdriver-phantomjs/blob/master/LICENSE-MIT"
}
],
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {
"grunt-lib-phantomjs": "~0.4.0",
"q": "~0.9.7"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.1.1",
"grunt": "~0.4.1"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"keywords": [
"gruntplugin",
"jstestdriver",
"phantomjs",
"tdd",
"unit testing",
"testing"
],
"readme": "# grunt-jstestdriver\n\nUniting testing using jsTestDriver and PhantomJS.\n\n## Getting Started\nNavigate your console to your project folder and run command:\n\n```\nnpm install grunt-jstestdriver-phantomjs\n```\n\nThis will download the plugin to your project folder.\n\nThen add this line to your project's `Gruntfile.js':\n\n```javascript\ngrunt.loadNpmTasks('grunt-jstestdriver-phantomjs');\n```\n\nA basic config of jsTestDriver is as follows.\n\n```javascript\njstdPhantom: { \n files: [\n\t\t\"src-test/unit/jsTestDriver.conf\", \n\t\t\"src-test/integration/jsTestDriver.conf\"\n\t]\n}\n```\n\nThen you can add the task to your gruntfile.\n\n```javascript\ngrunt.registerTask('default', ['jstdPhantom']);\n```\n\nFor a sample jstd-config visit [jsTestDriver Wiki](https://code.google.com/p/js-test-driver/wiki/ConfigurationFile)\n\n\n**Grunt Help**\n\n[Grunt](http://gruntjs.com/)\n\n[Getting started](http://gruntjs.com/getting-started)\n\n## Documentation\n\n#### How it works\nWe spawn a process of JSTD to create a server and wait for a little bit to make sure its up and running. Then we spawn a PhantomJS instance and direct it to the server /capture page. When PhantomJS notifies us that its getting the /heartbeat we trigger the running of the tests.\n\n\n## Trouble shooting\nTo be updated...\n\n## Contributing\nTo be updated...\n\n\n## Release History\n* 2013/18/09 - v.0.0.6 - Added filtering of output when killing child processes and started using _\n* 2013/16/09 - v.0.0.5 - Adding timeout option Adding retires option. Using http module to decide when the server has started. Waiting for child processes to die.\n* 2013/13/09 - v.0.0.4 - Make sure child proceses are dead before task is completed.\n* 2013/11/09 - v.0.0.3 - Introduced promises, fix for paths and kills all spawned processes when task is done.\n* 2013/11/09 - v.0.0.2 - Changed task name to \"jstdPhantom\", moved grunt-lib-phantom to dependencies\n* 2013/10/09 - v0.0.1 - Added PhantomJS, downgraded jsTestDriver to v.1.3.3.d for stability. Set up task so that it spins up server, hooks up phantom AND runs the tests before exiting\n* 2013/10/09 - v0.0.0 - Forked from Ricky Clegg\n\n\n## License\nMIT\n",
"readmeFilename": "README.md",
"_id": "[email protected]",
"_shasum": "540c6f945d3edf6caf54459c1767514494b0c79b",
"_from": "./lib/build/grunt-jstestdriver-phantomjs"
}