#1 Testify
Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
Health score 80/100, confidence 95/100.
| Latest version | v1.2.0 |
| Imported by | 65 packages |
| Stars | 2.2K |
| Forks | 110 |
| Last activity | 1 years ago |
| Latest release | v1.2.0 (3 years ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| FilterRequestFunc | Type | type FilterRequestFunc func(*http.Request) bool |
| FilterResponseFunc | Type | type FilterResponseFunc func(*http.Response) bool |
| MapRequestFunc | Type | type MapRequestFunc func(*http.Request) *http.Request |
| MapResponseFunc | Type | type MapResponseFunc func(*http.Response) *http.Response |
| MatchFunc | Type | type MatchFunc func(*http.Request, *Request) (bool, error) |
| Matcher | Type | type Matcher interface{ ... } |
| Matcher.Add | Method | Add func(MatchFunc) |
| Matcher.Flush | Method | Flush func() |
| Matcher.Get | Method | Get func() []MatchFunc |
| Matcher.Match | Method | Match func(*http.Request, *Request) (bool, error) |
| Matcher.Set | Method | Set func([]MatchFunc) |
| Mock | Type | type Mock interface{ ... } |
Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.
Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.
Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
Package testcase is an opinionated testing framework.
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers