Skip to content
Chris James edited this page Mar 5, 2016 · 3 revisions

Mockingjay is written in Go and this means you can use the mockingjay code to create fake servers without having to fire off a separate service, which simplifies your builds a little bit.

Just import "github.com/quii/mockingjay-server/mockingjay" and then you can create http servers from YAML. Mockingjay conforms to http.Handler so it's easy to use it with httptest.NewServer

Both mockingjay and the monkey are separate packages, so you might find them useful in your own projects. I have made the effort to make the Godocs nice et al.

Clone this wiki locally