1.4.954 • Published 11 years ago

mountebank-test v1.4.954

Weekly downloads
5
License
MIT
Repository
github
Last release
11 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

11 years ago

1.4.953

11 years ago

1.4.952

11 years ago

1.4.951

11 years ago

1.5.950

11 years ago

1.5.949

11 years ago

1.5.948

11 years ago

1.5.947

11 years ago

1.5.946

11 years ago

1.5.944

11 years ago

1.5.943

11 years ago

1.5.942

11 years ago

1.5.941

11 years ago

1.5.940

11 years ago

1.5.939

11 years ago

1.5.938

11 years ago

1.5.937

11 years ago

1.5.936

11 years ago

1.5.935

11 years ago

1.5.934

11 years ago

1.5.933

11 years ago

1.5.932

11 years ago

1.5.931

11 years ago

1.5.930

11 years ago

1.5.927

11 years ago

1.5.926

11 years ago

1.5.925

11 years ago

1.5.924

11 years ago

1.5.923

11 years ago

1.5.922

11 years ago

1.5.921

11 years ago

1.5.920

11 years ago

1.5.919

11 years ago

1.5.918

11 years ago

1.5.917

11 years ago

1.5.916

11 years ago

1.5.915

11 years ago

1.5.914

11 years ago

1.5.913

11 years ago

1.5.912

11 years ago

1.5.911

11 years ago

1.5.910

11 years ago

1.5.909

11 years ago

1.5.908

11 years ago

1.5.907

11 years ago

1.4.905

11 years ago

1.4.904

11 years ago

1.4.903

11 years ago

1.4.902

11 years ago

1.4.900

11 years ago

1.4.898

11 years ago

1.4.897

11 years ago

1.4.896

11 years ago

1.4.895

11 years ago

1.4.894

11 years ago

1.4.893

11 years ago

1.4.892

11 years ago

1.4.891

11 years ago

1.4.889

11 years ago

1.4.888

11 years ago

1.4.887

11 years ago

1.4.886

11 years ago

1.4.885

11 years ago

1.4.884

11 years ago

1.4.883

11 years ago

1.4.882

11 years ago

1.4.881

11 years ago

1.4.880

11 years ago

1.4.879

11 years ago

1.4.878

11 years ago

1.4.877

11 years ago

1.4.876

11 years ago

1.4.875

11 years ago

1.4.874

11 years ago

1.4.873

11 years ago

1.4.872

11 years ago

1.4.871

11 years ago

1.4.870

11 years ago

1.4.869

11 years ago

1.4.868

11 years ago

1.4.866

11 years ago

1.4.865

11 years ago

1.4.864

11 years ago

1.4.863

11 years ago

1.4.862

11 years ago

1.3.861

11 years ago

1.3.860

11 years ago

1.3.859

11 years ago

1.3.858

11 years ago

1.3.857

11 years ago

1.3.856

11 years ago

1.3.855

11 years ago

1.3.854

11 years ago

1.3.853

11 years ago

1.3.852

11 years ago

1.3.851

11 years ago

1.3.849

11 years ago

1.3.848

11 years ago

1.3.847

11 years ago

1.3.837

11 years ago

1.3.832

11 years ago

1.3.831

11 years ago

1.3.830

11 years ago

1.3.828

11 years ago

1.3.826

11 years ago

1.3.825

11 years ago

1.3.824

11 years ago

1.3.823

11 years ago

1.3.822

11 years ago

1.3.813

11 years ago

1.3.812

11 years ago

1.3.811

11 years ago

1.3.810

11 years ago

1.3.809

11 years ago

1.3.808

11 years ago

1.3.807

11 years ago

1.3.806

11 years ago

1.3.805

11 years ago

1.3.804

11 years ago

1.3.803

11 years ago

1.3.802

11 years ago

1.3.800

11 years ago

1.3.799

11 years ago

1.3.798

11 years ago

1.3.797

11 years ago

1.3.796

11 years ago

1.3.795

11 years ago

1.3.794

11 years ago

1.3.793

11 years ago

1.3.792

11 years ago

1.3.791

11 years ago

1.3.790

11 years ago

1.3.789

11 years ago

1.3.788

11 years ago

1.3.787

11 years ago

1.3.786

11 years ago

1.3.785

11 years ago

1.3.784

11 years ago

1.3.783

11 years ago

1.3.782

11 years ago

1.3.781

11 years ago

1.3.780

11 years ago

1.3.779

11 years ago

1.3.778

11 years ago

1.3.777

11 years ago

1.3.776

11 years ago

1.3.775

11 years ago

1.3.774

11 years ago

1.3.773

11 years ago

1.3.772

11 years ago

1.3.771

11 years ago

1.3.770

11 years ago

1.3.100

11 years ago

1.3.1

11 years ago

1.3.0

11 years ago