forked from jamesshore/lets_code_javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 7.22 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 7.22 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "testacular",
"description": "Spectacular Test Runner for JavaScript.",
"homepage": "http://vojtajina.github.com/testacular/",
"bugs": {
"url": "https://github.com/vojtajina/testacular/issues"
},
"keywords": [
"Testacular",
"nodejs",
"js",
"javascript",
"testing",
"test",
"remote",
"execution"
],
"author": {
"name": "Vojta Jína",
"email": "vojta.jina@gmail.com"
},
"contributors": [
{
"name": "Igor Minár",
"email": "igor.minar@gmail.com"
},
{
"name": "Peter Bacon Darwin",
"email": "pete@bacondarwin.com"
},
{
"name": "Andy Joslin",
"email": "andytjoslin@gmail.com"
},
{
"name": "Marcello Nuccio",
"email": "marcello.nuccio@gmail.com"
},
{
"name": "Shyam Seshadri",
"email": "shyamseshadri@gmail.com"
},
{
"name": "Peter Swan",
"email": "pete@indabamusic.com"
},
{
"name": "Bulat Shakirzyanov",
"email": "mallluhuct@gmail.com"
},
{
"name": "David Jensen",
"email": "david.lgj@gmail.com"
},
{
"name": "Ruben Orduz",
"email": "rubenoz+github@gmail.com"
},
{
"name": "Nish Patel",
"email": "nishantpatel611@gmail.com"
},
{
"name": "Friedel Ziegelmayer",
"email": "dignifiedquire@gmail.com"
},
{
"name": "David Souther",
"email": "davidsouther@gmail.com"
},
{
"name": "Daniel Aleksandersen"
}
],
"dependencies": {
"socket.io": ">= 0.9.0",
"chokidar": ">=0.4.0",
"glob": ">=3.1.11",
"minimatch": ">=0.2.5",
"http-proxy": ">=0.8.2",
"optimist": ">= 0.3.4",
"coffee-script": ">= 1.3.3",
"xmlbuilder": ">= 0.4.2"
},
"devDependencies": {
"jasmine-node": ">= 1.0.11",
"mocks": ">= 0.0.5",
"grunt": ">= 0.3.11"
},
"preferGlobal": true,
"repository": {
"type": "git",
"url": "git://github.com/vojtajina/testacular.git"
},
"main": "./lib/index",
"bin": {
"testacular": "./bin/testacular"
},
"engines": {
"node": ">= 0.8.4"
},
"version": "0.4.0",
"readme": "# Testacular [](http://travis-ci.org/vojtajina/testacular) [](http://travis-ci.org/vojtajina/testacular)\n\nA simple tool that allows you to execute JavaScript code in multiple _real_ browsers, powered by [Node.js] and [Socket.io].\n\n[](http://www.youtube.com/watch?v=MVw8N3hTfCI)\n\n**The main purpose of Testacular is to make your TDD development easy, fast, and fun.**\n\n\n## Installation\n\nFirst, you need to install [Node.js]. [There are installers](http://nodejs.org/download/) for both\nMacintosh and Windows. On Linux, we recommend using [NVM].\n\n````bash\nsudo npm install -g testacular\n\n# or install in a local folder (you have to create symlinks to binaries on your own)\nnpm install testacular\n````\n\nYou can install Testacular even without NPM, just get the latest package and create symlinks:\n\n````bash\n# replace x.y.z with latest version\ncurl http://registry.npmjs.org/testacular/-/testacular-x.y.z.tgz | tar -xv && mv package testacular\n\n# create symlinks (optional)\ncd testacular\nsudo ln -s $PWD/bin/testacular /usr/local/bin/testacular\n````\n\n## What is it good for?\n\nMostly for testing code in multiple browsers (desktop, mobile, tablets):\n\n- executing tests locally during development\n- executing tests on a continuous integration server\n\n\n## Let's do it!\n\nGo into your project and create a testacular configuration. Basically you need to specify the source files that you want to execute.\n\nFor an example configuration, see [test/client/testacular.conf.js](https://github.com/vojtajina/testacular/blob/master/test/client/testacular.conf.js) which contains most of the options.\n\n````bash\n# create config file (testacular.conf.js by default)\ntestacular init\n\n# start server\ntestacular start\n\n# open browsers you want to test (if testacular is not configured to do it for you)\nopen http://localhost:8080\n\n# if you want to run tests manually (without auto watching file changes), you can:\ntestacular run\n````\n\n## Testing frameworks support\n\nTestacular is not a testing framework, neither an assertion library, so for that you can use pretty much anything you like.\n\nHowever, we provide an adapter for [Jasmine] and [Mocha].\nIf you wanna write an adapter for your favourite testing framework, that's great - check out [adapter/jasmine.src.js](https://github.com/vojtajina/testacular/blob/master/adapter/jasmine.src.js) and write your own.\n\n## Browsers Supported\n\nPlease see the [wiki](https://github.com/vojtajina/testacular/wiki/Starting-browsers) for details on supported Browsers\nand how to configure non-default paths.\n\n## Why am I doing this?\n\nThroughout the development of [AngularJS], we've been using [JSTD] for testing. I really think that JSTD is a great idea. Unfortunately, we had many problems with JSTD, so we decided to write our own test runner based on the same idea. We wanted a simple tool just for executing JavaScript tests that is both stable and fast. That's why we use the awesome [Socket.io] library and [Node.js].\n\n\n## Development\n\nIf you are thinking about making Testacular better, or you just want to hack on it, that's great - [fork the repo] and become [a contributor]!\n\n````bash\ngit clone git://github.com/vojtajina/testacular.git # or clone your fork\n\ncd testacular\nsudo npm install . --dev # install all dev dependencies (such as grunt, jasmine-node, etc...)\n````\n\n### Tips for contributing\n\n- create a branch per feature/fix\n- follow http://nodeguide.com/style.html (with exception of 100 characters per line)\n- send pull request requesting a merge to `master` branch (not to default `stable`)\n\n\nIf you have any further questions, join the [mailing list](https://groups.google.com/forum/#!forum/testacular) or [submit an issue](https://github.com/vojtajina/testacular/issues/new).\n\nYou can follow [@TestacularJS](http://twitter.com/TestacularJS) as well.\n\n\n## Versions\n\nTestacular uses [Semantic Versioning]. All even versions (eg. `0.2.x`, `0.4.x`) are considered to\nbe stable - no breaking changes, only bug fixes.\n\n### Stable channel (branch \"stable\")\n\n npm install -g testacular\n\n### Canary channel (branch \"master\")\n\n npm install -g testacular@canary\n\n<!--\n- anything on console will leak whole iframe window\n- it clears console before run (but works only in FF), Chrome/Safari does not allow, so do this:\nconsole.clear = clear;\n-->\n\n[AngularJS]: http://angularjs.org/\n[JSTD]: http://code.google.com/p/js-test-driver/\n[Socket.io]: http://socket.io/\n[Node.js]: http://nodejs.org/\n[NVM]: https://github.com/creationix/nvm\n[Grunt]: http://gruntjs.com/\n[Jasmine]: http://pivotal.github.com/jasmine/\n[Mocha]: http://visionmedia.github.com/mocha/\n[fork the repo]: https://github.com/vojtajina/testacular/fork_select\n[a contributor]: https://github.com/vojtajina/testacular/graphs/contributors\n[Semantic Versioning]: http://semver.org/\n",
"_id": "testacular@0.4.0",
"_from": "testacular@0.4.0"
}