Awesome
apitest-plantuml
Formats the results of an apitest run as plant uml markup.
Installation
go get -u github.com/steinfletcher/apitest-plantuml
Example
apitest.New("search user").
Handler(myHandler).
Report(plantuml.NewFormatter(myWriter)).
Mocks(getPreferencesMock, getUserMock).
Post("/user/search").
Body(`{"name": "jon"}`).
Expect(t).
Status(http.StatusOK).
Header("Content-Type", "application/json").
Body(`{"name": "jon", "is_contactable": true}`).
End()