Node.js测试框架 Whiskey
fmms
13年前
Whiskey是一套用于测试Node.js应用、事件驱动的、基于JavaScript的web应用框架,使用谷歌的V8 JavaScript引擎来提供实时编译性能。
- Each test file runs isolated in a separate process
- Support for running multiple tests in parallel (
--concurrency
option) - Support for a test initialization function which is run before running the tests in a test file
- Support for a test file timeout
- setUp / tearDown function support
- Support for different test reporters (cli, tap)
- Support for code coverage (cli reporter, html reporter)
- Support for reporting variables which have leaked into a global scope
- Nicely formatted reports (colors!)
- Integration with node debugger
- Support for generating Makefiles with different Whiskey targets