Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.42 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.42 KB

mbgo

GoDoc Build Status Go Report Card

A mountebank API client for the Go programming language.

Installation

$ go get -u github.com/senseyeio/mbgo

Testing

This package includes both unit and integration tests. Use the unit and integration targets in the Makefile to run them, respectively:

$ make unit
$ make integration

The integration tests expect Docker to be available on the host, using it to run a local mountebank container at localhost:2525, with the additional ports 8080-8081 exposed for test imposters. Currently tested against a mountebank v2.0.0 instance using the andyrbell/mountebank image on DockerHub.

Contributing

  • Fork the repository.
  • Code your changes.
  • If applicable, add tests and/or documentation.
  • Please ensure all unit and integration tests are passing, and that all code passes make lint.
  • Raise a new pull request with a short description of your changes.
  • Use the following convention for branch naming: <username>/<description-with-dashes>. For instance, smotes/add-smtp-imposters.