Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent a3acfe3 commit 458730cc9e0c61d7c0e270db7226ce02899e96d6 @joeferner joeferner committed May 22, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
@@ -8,6 +8,13 @@ Multi-format, test framework agnostic, code coverage report generator.
## Usage
+- use covershot's require in your unit tests
+
+```javascript
+var csrequire = require('covershot').require.bind(null, require);
+var myLibrary = csrequire('../lib/myLibrary');
+```
+
- instrument your code using [jscoverage](http://siliconforks.com/jscoverage/)
```bash

0 comments on commit 458730c

Please sign in to comment.