Skip to content

Commit

Permalink
updated test runner documentation and npm test target
Browse files Browse the repository at this point in the history
  • Loading branch information
schaermu committed May 31, 2012
1 parent a7e3f35 commit 04fc529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Via npm:
Or as a submodule:
`$ git submodule add git://github.com/schaermu/node-fluent-ffmpeg.git vendor/fluent-ffmpeg`
## Tests
To run unit tests, make sure have nodeunit installed on your system (currently, only npm-installed versions are supported).
To run unit tests, make sure have mocha installed on your system (registered as devDependency in npm config).

`$ nodeunit test`
`$ make test`

Make sure your ffmpeg installation is up-to-date to prevent strange assertion errors because of missing codecs/bugfixes.
## Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"engines" : { "node" : ">=0.4.0" },
"main": "index",
"scripts": {
"test": "mocha -u tdd"
"test": "make test"
}
}

0 comments on commit 04fc529

Please sign in to comment.