Golang HTTP client testing framework
MIT License
Bot releases are hidden (Show)
https://github.com/suzuki-shunsuke/flute/compare/v1.0.1...v2.0.0
#47 refactor: change pointer to struct
#48 feat: upgrade go module to v2
the signature of structs are changed
github.com/suzuki-shunsuke/flute
-> github.com/suzuki-shunsuke/flute/v2
github.com/suzuki-shunsuke/flute/flute
-> github.com/suzuki-shunsuke/flute/v2/flute
func(*testing.T, *http.Request, *Service, *Route)
-> func(*testing.T, *http.Request, Service, Route)
&Transport
-> Transport
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v1.0.1...v2.0.0-0
#47 refactor: change pointer to struct
#48 feat: upgrade go module to v2
the signature of structs are changed
github.com/suzuki-shunsuke/flute
-> github.com/suzuki-shunsuke/flute/v2
github.com/suzuki-shunsuke/flute/flute
-> github.com/suzuki-shunsuke/flute/v2/flute
func(*testing.T, *http.Request, *Service, *Route)
-> func(*testing.T, *http.Request, Service, Route)
&Transport
-> Transport
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v1.0.0...v1.0.1
Add example code to GoDoc
Published by suzuki-shunsuke over 4 years ago
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.6.0...v0.6.1
#29 fix: set the resnpose body to non-nil
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.7.0...v1.0.0
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.6.1...v0.7.0
#30 fix: response's status code can't be set
#31
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.5.0...v0.5.1
#16 fix: allow matcher and tester is nil
Published by suzuki-shunsuke over 4 years ago
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.4.0...v0.5.0
#14 feat: change default behavior when no route matches
the default behavior when no route matches the request is changed.
AS-IS:
When no route matches the request and Transport.Transport is nil,
http.DefaultClient.Transport.RoundTrip or http.DefaultTransport.RoundTrip are called.
TO-BE:
When no route matches the request and Transport.Transport is nil,
the test fails and exit and the detail of the request parameters is outputted.
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.3.0...v0.3.1
#11 fix: don't call http.DefaultClient.Transport if it is nil
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.2.0...v0.3.0
#10 feat: support the request query parameters
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.3.1...v0.4.0
#13 feat: add the condition about query and header
Published by suzuki-shunsuke over 4 years ago
https://github.com/suzuki-shunsuke/flute/compare/v0.1.0...v0.2.0
#8 fix: fix the signature of Tester.Test and add tests
Published by suzuki-shunsuke over 4 years ago
Published by suzuki-shunsuke over 4 years ago