Skip to content

Commit

Permalink
briefly document the api
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jun 30, 2012
1 parent 7002aef commit 4dec110
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.markdown
Expand Up @@ -65,6 +65,24 @@ ok 1 should be equivalent
# ok
```
# test api
``` js
var test = require('testling')
```

The test api is just the [node-tap](https://github.com/isaacs/node-tap) api
plus:

## t.createWindow(uri, vars, cb)

Return a [schoolbus](https://github.com/substack/schoolbus) object to drive
around web pages.

## t.log(msg)

Log a message to the output.

# command-line usage

```
Expand Down

0 comments on commit 4dec110

Please sign in to comment.