
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
mountebank-test
Advanced tools
mountebank is the first open source tool to provide cross-platform, multi-protocol test doubles over the wire. Just point your application to mountebank instead of the real dependency, and test like you would with traditional stubs and mocks.
At the moment, the following protocols are supported:
mountebank supports mock verification, stubbing with advanced predicates, JavaScript injection, and record-playback through proxying.
See getting started guide for more information.
Install:
npm install -g mountebank
The npm install requires at least node 0.10. Billions of other install options are also available with no platform dependencies.
Run:
mb
After installing and running, view the docs in your browser at http://localhost:2525, or visit the public site.
mountebank has the following goals:
Not all of mountebank's goals are currently implemented, but fear not, for he has a team of top-notch open source developers, and they are legion.
Visit the Google group for any support questions. Don't be shy!
./build
should do the trick on Mac and Linux, and build.bat
on Windows, assuming you have at least node 0.10.
If not, yell at me.
There are some tests that require network access (grunt airplane
ignores them in case that offends your
moral sensibilities). A few of these tests verify the correct behavior under DNS failures. If your ISP
is kind enough to hijack the NXDOMAIN DNS response in an attempt to allow you to conveniently peruse their
advertising page, those tests will fail. I suggest that, under such circumstances, you talk to your ISP
and let them know that their policies are causing mountebank tests to fail.
Contributions are welcome! Some tips for contributing are in the contributing link that spins up when you run mb. I have a liberal policy accepting pull requests - I'd rather you sent them even if you can't figure out how to get the build working, etc. I'm also available via Skype or something similar to help you get started. Feel free to reach me at brandon.byars@gmail.com.
FAQs
Over the wire test doubles
The npm package mountebank-test receives a total of 20 weekly downloads. As such, mountebank-test popularity was classified as not popular.
We found that mountebank-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.