v0.1.11
NEW
Require validation. #37
implements the same assertions as the Assert
, but stops test execution when a test fails.
RequireBody
RequireBodyT
RequireResponse
RequireResponseT
RequireHeaders
RequireHeadersT
Implement query builder
cute.WithQueryKV("socks", "42")
cute.WithQuery(map[string][]string{"hello": {"Denis", "my friend", "MAAA FREEEND"}})
RequestBuilder(
cute.WithURI("https://jsonplaceholder.typicode.com/posts/1/comments"),
cute.WithQueryKV("socks", "42"), <--- NEW METHOD
cute.WithQuery(map[string][]string{"hello": {"Denis", "my friend", "MAAA FREEEND"}}), <--- NEW METHOD
cute.WithMethod(http.MethodGet),
).