Skip to content

Simple client library for testing HTTP and REST apis inspired by resty

Notifications You must be signed in to change notification settings

miketonks/testy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testy

Simple client library for testingt HTTP and REST apis in Go (inspired by Resty)

Doesn't implement assertions. Use your favorite test library.

  api := testy.New(handler)

  response := api.Get("/hello")
  assert.Equal(t, 200, response.StatusCode, "OK response is expected")
  assert.Equal(t, "hello, world!", response.String())

About

Simple client library for testing HTTP and REST apis inspired by resty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages