https://github.com/msiebuhr/node-mocha-slow-reporter
Mocha reporter for profiling slow tests/hooks.
https://github.com/msiebuhr/node-mocha-slow-reporter
Last synced: 3 months ago
JSON representation
Mocha reporter for profiling slow tests/hooks.
- Host: GitHub
- URL: https://github.com/msiebuhr/node-mocha-slow-reporter
- Owner: msiebuhr
- Created: 2013-04-09T12:00:40.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T06:35:14.000Z (over 7 years ago)
- Last Synced: 2025-02-02T01:41:20.795Z (4 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Mocha Slow Reporter
===================Reports what tests are the slowest in your
[Mocha](http://mochajs.org/) test-suite.Screenshot:
33 ㎳ Whole Suite
23 ㎳ Middleware/getClientInfo
7 ㎳ "before all" hook
6 ㎳ GET / (no auth)
6 ㎳ "before all" hook
0 ㎳ 401 Unauthorized
0 ㎳ Returns 'WWW-Authenticate: Basic ...'-header
4 ㎳ GET / (auth: [email protected]:bar)
4 ㎳ "before all" hook
0 ㎳ 400 Bad Request
4 ㎳ GET /?DeviceId=DeviceFoo (auth: [email protected]:bar)
4 ㎳ "before all" hook
0 ㎳ 200 OK
0 ㎳ Has client details in body
2 ㎳ GET / (auth: foo:bar)
2 ㎳ "before all" hook
0 ㎳ 401 Unauthorized
0 ㎳ Returns 'WWW-Authenticate: Basic ...'-header
10 ㎳ Middleware/xmlBodyParser
3 ㎳ Simple XML w. 'Content-Type: text/xml' is OK
3 ㎳ Invalid XML w. 'Content-Type: text/xml' fails
2 ㎳ "before all" hook
2 ㎳ Empty body w/o Content-Type is OKInstallation
------------npm install mocha-slow-reporter
Use
---mocha -R mocha-slow-reporter
License
-------BSD