{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/get-ion/httpexpect","name":"github.com/get-ion/httpexpect","description":"Package httpexpect helps with end-to-end HTTP and REST API testing.\n\nSee example directory:\n\nThere are two common ways to test API with httpexpect:\n\nThe second approach works only if the server is a Go module and its handler can\nbe imported in tests.\n\nConcrete behaviour is determined by Client implementation passed to Config struct.\nIf you're using http.Client, set its Transport field (http.RoundTriper) to one of\nthe following:\n\nNote that http handler can be usually obtained from http framework you're using.\nE.g., echo framework provides either http.Handler.\n\nYou can also provide your own implementation of RequestFactory (creates http.Request),\nor Client (gets http.Request and returns http.Response).\n\nIf you're starting server from tests, it's very handy to use net/http/httptest.\n\nWhenever values are checked for equality in httpexpect, they are converted\nto \"canonical form\":\n\nThis is equivalent to subsequently json.Marshal() and json.Unmarshal() the value\nand currently is implemented so.\n\nWhen some check fails, failure is reported. If non-fatal failures are used\n(see Reporter interface), execution is continued and instance that was checked\nis marked as failed.\n\nIf specific instance is marked as failed, all subsequent checks are ignored\nfor this instance and for any child instances retrieved after failure.\n\nExample:","version":"v0.0.0-20170626131600-13f70d591e50","softwareVersion":"v0.0.0-20170626131600-13f70d591e50","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/get-ion/httpexpect","issueTracker":"https://github.com/get-ion/httpexpect/issues","url":"https://github.com/get-ion/httpexpect","programmingLanguage":{"@type":"ComputerLanguage","name":"Go"},"dateCreated":"2017-06-26","dateModified":"2017-06-26","datePublished":"2017-06-26","copyrightYear":2017,"downloadUrl":"https://proxy.golang.org/cached-only/github.com/get-ion/httpexpect/@v/v0.0.0-20170626131600-13f70d591e50.zip","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/get-ion/httpexpect#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","developmentStatus":"active","sameAs":["https://pkg.go.dev/github.com/get-ion/httpexpect"],"https://forgefed.org/ns#forks":2}