Skip to content

Commit

Permalink
redux
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jun 23, 2012
1 parent 7b81b93 commit d5a9367
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 1,226 deletions.
60 changes: 3 additions & 57 deletions README.markdown
@@ -1,65 +1,11 @@
testling
========

Run browser unit tests headlessly with jsdom locally and remotely with
Write tests for the browser or node.
Run them with local browsers or hosted browsers from
[testling.com](http://testling.com).

example
=======

To run a test locally, just:

```
$ testling test.js
node/jsdom 1/1 100 % ok
$
```

To run the same test on remote browsers, just add `--browsers=...`!

```
$ testling test.js --browsers=iexplore/7.0,iexplore/8.0,firefox/3.5
Bundling... done
iexplore/7.0 0/1 0 % ok
Error: 'JSON' is undefined
at [anonymous]() in /test.js : line: 4, column: 5
at [anonymous]() in /test.js : line: 3, column: 29
at test() in /test.js : line: 3, column: 1
> t.deepEqual(JSON.parse('[1,2]'), [1,2]);
iexplore/8.0 1/1 100 % ok
firefox/3.5 1/1 100 % ok
total 2/3 66 % ok
$
```

Super easy!

For more information, consult the
[testling documentation](http://testling.com/docs/).

usage
=====

```
Usage: testling [test files] {OPTIONS}
Options:
--browsers, -b Run your tests remotely in real browsers on testling.com.
--output, -o The output format to use in remote mode.
http://testling.com/docs/#output-parameter
--noinstrument Turn off instrumentation for particular files in remote mode.
http://testling.com/docs/#noinstrument
--browserlist, -l Show the available browsers on testling.com.
--config Read configuration information from this file.
```
....

install
=======
Expand Down
42 changes: 0 additions & 42 deletions bin/cli.js

This file was deleted.

51 changes: 0 additions & 51 deletions lib/account/user.js

This file was deleted.

119 changes: 0 additions & 119 deletions lib/account/with_config.js

This file was deleted.

86 changes: 0 additions & 86 deletions lib/deep_equal.js

This file was deleted.

0 comments on commit d5a9367

Please sign in to comment.