Search
By onsi
Skills
Sort:BestMost starsTrending todayTrending this weekTrending this monthNewestRecently updatedName
| # | Skill | Repository | Stars | Used in | Tokens | Auto-check | Licence | Updated |
|---|---|---|---|---|---|---|---|---|
| 1 | Write correct synchronous Gomega assertions — Expect/Ω notation, the To/NotTo/ToNot/Should/ShouldNot equivalences, the multi-return error idiom, Succeed vs HaveOccurred, the .Error() chaining form… | onsi/ | 2.4k | — | ~2.1k | Automated safety check: Pass | MIT | 15 days ago |
| 2 | 2.Async Polling assertions in Gomega — Eventually (poll until it passes) and Consistently (must keep passing), the func(g Gomega) callback idiom, WithTimeout/WithPolling/Within/ProbeEvery, WithContext and… | onsi/ | 2.4k | — | ~2.2k | Automated safety check: Pass | MIT | 15 days ago |
| 3 | Build compound Gomega assertions by combining matchers — And/SatisfyAll (all pass), Or/SatisfyAny (any pass), Not (negate), WithTransform to map the actual before matching, Satisfy for an ad-hoc… | onsi/ | 2.4k | — | ~1.5k | Automated safety check: Pass | MIT | 15 days ago |
| 4 | Writing your own Gomega matchers — the GomegaMatcher interface (Match/FailureMessage/NegatedFailureMessage), gcustom.MakeMatcher with message templates and template data, the format package helpers… | onsi/ | 2.4k | — | ~2.4k | Automated safety check: Pass | MIT | 15 days ago |
| 5 | 5.Gbytes Testing streaming io buffers with gbytes — gbytes.NewBuffer() (an io.Writer also returned by gexec sessions), the Say(regexp) matcher that forward-scans from a moving read cursor, the canonical… | onsi/ | 2.4k | — | ~1.5k | Automated safety check: Pass | MIT | 15 days ago |
| 6 | 6.Gexec Testing external processes with gexec — compile binaries with Build/BuildWithEnvironment/BuildIn and CleanupBuildArtifacts, start them with Start returning a Session, await exit with the Exit… | onsi/ | 2.4k | — | ~1.3k | Automated safety check: Pass | MIT | 15 days ago |
| 7 | 7.Ghttp The ghttp test HTTP server for testing HTTP clients — NewServer/NewTLSServer, AppendHandlers, the Verify assertions (VerifyRequest/VerifyHeader/VerifyHeaderKV/VerifyJSON/VerifyForm/VerifyBasicAuth/Ve… | onsi/ | 2.4k | — | ~2.2k | Automated safety check: Pass | MIT | 15 days ago |
| 8 | 8.Gleak gleak goroutine leak detection — capture a Goroutines() snapshot before a test, then Eventually(Goroutines).ShouldNot(HaveLeaked(snapshot)) to assert none leaked, with the… | onsi/ | 2.4k | — | ~1.5k | Automated safety check: Pass | MIT | 15 days ago |
| 9 | 9.Gmeasure Benchmark and measure Go code with gmeasure — an Experiment groups named Measurements, recorded via RecordValue/RecordDuration/MeasureDuration or repeated Sample/SampleValue/SampleDuration with… | onsi/ | 2.4k | — | ~2.2k | Automated safety check: Pass | MIT | 15 days ago |
| 10 | 10.Gstruct Deep, partial matching of nested structs, slices, maps, and pointers with gstruct — MatchAllFields/MatchFields/Fields, MatchAllElements/MatchElements/Elements (idFn), MatchAllKeys/MatchKeys/Keys… | onsi/ | 2.4k | — | ~1.7k | Automated safety check: Pass | MIT | 15 days ago |
| 11 | 11.Overview The Gomega mental model for writing assertions in Go — the Expect/Ω notation, matchers-are-values, the multi-return error idiom, synchronous vs asynchronous (Eventually/Consistently) assertions, and… | onsi/ | 2.4k | — | ~1.1k | Automated safety check: Pass | MIT | 15 days ago |
| 12 | 12.Matchers The complete catalog of Gomega's built-in matchers, grouped by category — equivalence (Equal/BeEquivalentTo/BeComparableTo/BeIdenticalTo/BeAssignableToTypeOf), presence (BeNil/BeZero/BeEmpty)… | onsi/ | 2.4k | — | ~2.1k | Automated safety check: Pass | MIT | 15 days ago |