Skip to content

Chris911/mocha-http-detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocha-http-detect Build Status npm version

Detect live HTTP requests in your test suite.

screenshot

Description

mocha-http-detect allows developers to report live HTTP requests in test suites. As a project grows, tests and dependencies can become difficult to manage. As a result, some tests might unwillingly call external services and in turn slow down tests and/or making them less reliable. By reporting live requests, this module identifies tests that might require stubbing calls to external services.

Usage

Install via NPM as a dev dependency:

$ npm i --save-dev mocha-http-detect

Run tests using the --require flag:

$ mocha --require mocha-http-detect test.js

About

Detect HTTP requests in your mocha test suites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published