1.4.954 • Published 10 years ago

mountebank-test v1.4.954

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

mountebank

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:

  • http
  • https
  • tcp (text and binary)
  • smtp

mountebank supports mock verification, stubbing with advanced predicates, JavaScript injection, and record-playback through proxying.

how it works

See getting started guide for more information.

Install and Run

npm

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

Learn More

After installing and running, view the docs in your browser at http://localhost:2525, or visit the public site.

Goals

mountebank has the following goals:

  • Trivial to get started
    • mountebank is easy to install, without any platform dependencies. mountebank aims for fun and comprehensive documentation with lots of examples, and a nice UI that lets you explore the API interactively.
  • A platform, not just a tool
    • mountebank aims to be fully cross-platform, with native language bindings. Servers are extensible through scripting.
  • Powerful
    • mountebank is the only open source stubbing tool that is non-modal and multi-protocol. Commercial "service virtualization" solutions exist, but their licensed platforms make it hard to move the tests closer to development and can even require a specialized IDE. mountebank provides service virtualization free of charge without any platform constraints.

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.

Support

Visit the Google group for any support questions. Don't be shy!

Building

./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.

Build Status

Coverage Status Codacy Badge

Ubuntu 12.04CentOS 6.7OS X MavericksWindows Server 2012
npm (node v5.0)Build Status(not tested)Build StatusBuild status
npm (node v4.2)Build Status(not tested)Build StatusBuild status
npm (node v4.0)Build Status(not tested)(not tested)(not tested)
npm (node v0.12)Build Status(not tested)Build StatusBuild status
npm (node v0.10)Build Status(not tested)Build StatusBuild status
OS packageBuild StatusBuild StatusBuild StatusN/A
Self-contained archiveBuild Status(not tested)Build StatusBuild status
(Performance)Build Status(not tested)(not tested)(not tested)

Contributing

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.

1.4.954

10 years ago

1.4.953

10 years ago

1.4.952

10 years ago

1.4.951

10 years ago

1.5.950

10 years ago

1.5.949

10 years ago

1.5.948

10 years ago

1.5.947

10 years ago

1.5.946

10 years ago

1.5.944

10 years ago

1.5.943

10 years ago

1.5.942

10 years ago

1.5.941

10 years ago

1.5.940

10 years ago

1.5.939

10 years ago

1.5.938

10 years ago

1.5.937

10 years ago

1.5.936

10 years ago

1.5.935

10 years ago

1.5.934

10 years ago

1.5.933

10 years ago

1.5.932

10 years ago

1.5.931

10 years ago

1.5.930

10 years ago

1.5.927

10 years ago

1.5.926

10 years ago

1.5.925

10 years ago

1.5.924

10 years ago

1.5.923

10 years ago

1.5.922

10 years ago

1.5.921

10 years ago

1.5.920

10 years ago

1.5.919

10 years ago

1.5.918

10 years ago

1.5.917

10 years ago

1.5.916

10 years ago

1.5.915

10 years ago

1.5.914

10 years ago

1.5.913

10 years ago

1.5.912

10 years ago

1.5.911

10 years ago

1.5.910

10 years ago

1.5.909

10 years ago

1.5.908

10 years ago

1.5.907

10 years ago

1.4.905

10 years ago

1.4.904

10 years ago

1.4.903

10 years ago

1.4.902

10 years ago

1.4.900

10 years ago

1.4.898

10 years ago

1.4.897

10 years ago

1.4.896

10 years ago

1.4.895

10 years ago

1.4.894

10 years ago

1.4.893

10 years ago

1.4.892

10 years ago

1.4.891

10 years ago

1.4.889

10 years ago

1.4.888

10 years ago

1.4.887

10 years ago

1.4.886

10 years ago

1.4.885

10 years ago

1.4.884

10 years ago

1.4.883

10 years ago

1.4.882

10 years ago

1.4.881

10 years ago

1.4.880

10 years ago

1.4.879

10 years ago

1.4.878

10 years ago

1.4.877

10 years ago

1.4.876

10 years ago

1.4.875

10 years ago

1.4.874

10 years ago

1.4.873

10 years ago

1.4.872

10 years ago

1.4.871

10 years ago

1.4.870

10 years ago

1.4.869

10 years ago

1.4.868

10 years ago

1.4.866

10 years ago

1.4.865

10 years ago

1.4.864

10 years ago

1.4.863

10 years ago

1.4.862

10 years ago

1.3.861

10 years ago

1.3.860

10 years ago

1.3.859

10 years ago

1.3.858

10 years ago

1.3.857

10 years ago

1.3.856

10 years ago

1.3.855

10 years ago

1.3.854

10 years ago

1.3.853

10 years ago

1.3.852

10 years ago

1.3.851

10 years ago

1.3.849

10 years ago

1.3.848

10 years ago

1.3.847

10 years ago

1.3.837

10 years ago

1.3.832

10 years ago

1.3.831

10 years ago

1.3.830

10 years ago

1.3.828

10 years ago

1.3.826

10 years ago

1.3.825

10 years ago

1.3.824

10 years ago

1.3.823

10 years ago

1.3.822

10 years ago

1.3.813

10 years ago

1.3.812

10 years ago

1.3.811

10 years ago

1.3.810

10 years ago

1.3.809

10 years ago

1.3.808

10 years ago

1.3.807

10 years ago

1.3.806

10 years ago

1.3.805

10 years ago

1.3.804

10 years ago

1.3.803

10 years ago

1.3.802

10 years ago

1.3.800

10 years ago

1.3.799

10 years ago

1.3.798

10 years ago

1.3.797

10 years ago

1.3.796

10 years ago

1.3.795

10 years ago

1.3.794

10 years ago

1.3.793

10 years ago

1.3.792

10 years ago

1.3.791

10 years ago

1.3.790

10 years ago

1.3.789

10 years ago

1.3.788

10 years ago

1.3.787

10 years ago

1.3.786

10 years ago

1.3.785

10 years ago

1.3.784

10 years ago

1.3.783

10 years ago

1.3.782

10 years ago

1.3.781

10 years ago

1.3.780

10 years ago

1.3.779

10 years ago

1.3.778

10 years ago

1.3.777

10 years ago

1.3.776

10 years ago

1.3.775

10 years ago

1.3.774

10 years ago

1.3.773

10 years ago

1.3.772

10 years ago

1.3.771

10 years ago

1.3.770

10 years ago

1.3.100

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago