Node.js測試框架 Whiskey
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
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!