Skip to content

gomicro/bogus

Repository files navigation

Bogus

Build Status Go Reportcard GoDoc License Release

Bogus simplifies the creation of a mocked http server using the net/http/httptest package. It allows the creation of one to many endpoints with unique responses. The interactions of each endpoint are recorded for assertions.

Requirements

Golang version 1.6 or higher

Installation

go get github.com/gomicro/bogus

Usage

See the examples within the docs for ways to use the library.

Versioning

The library will be versioned in accordance with Semver 2.0.0. See the releases section for the latest version. Until version 1.0.0 the libary is considered to be unstable.

It is always highly recommended to vendor the version you are using.

License

See LICENSE.md for more information.