onsi

29 mods across 2 repositories, 11k stars between them.

ginkgo

01

onsi/ginkgo

Plugin Claude Code

Plugin marketplace listing 1 plugin: ginkgo.

9.0k 21d ago A tokens not measured original MIT

ginkgo

02

onsi/ginkgo

Plugin Claude Code

Write, run, and debug Ginkgo/Gomega test suites in Go. Skills for the tree-construction mental model, spec authoring and cleanup, tables and generated specs, the full decorator reference, filtering, parallelism, ordered/flaky specs, timeouts and async, the CLI and CI configuration, reporting, and JSON-first failure…

9.0k 21d ago A tokens not measured original MIT

ci

03

onsi/ginkgo

Skill Claude CodeCodex

Configure Ginkgo for continuous integration — the recommended CLI flag set and the rationale for each flag (-r -p --randomize-all --randomize-suites --fail-on-pending --fail-on-empty --keep-going --cover --race --trace --json-report --timeout --poll-progress-after/-interval), invoking via go run to pin the CLI to…

9.0k 21d ago A 132 tokens original MIT

debugging-failures

04

onsi/ginkgo

Skill Claude CodeCodex

Diagnose a failing Ginkgo suite as an agent — always run with --json-report into a predictable temp/gitignored location, read the terminal verdict line, then use jq to extract structured failure details (name, message, file:line, panic value, captured logs). Covers the panicked-vs-failed trap, panic locations pointing…

9.0k 21d ago A 122 tokens original MIT

decorators

05

onsi/ginkgo

Skill Claude CodeCodex

One-line reference for every Ginkgo decorator, grouped by what it does, with the node types each can decorate — Serial, Ordered, ContinueOnFailure, OncePerOrdered, Label, Focus, Pending, FlakeAttempts, MustPassRepeatedly, NodeTimeout, SpecTimeout, GracePeriod, PollProgressAfter/Interval, SuppressProgressReporting…

9.0k 21d ago A 108 tokens original MIT

filtering

06

onsi/ginkgo

Skill Claude CodeCodex

Run a subset of a Ginkgo suite — Pending/PIt/XIt, runtime Skip, programmatic Focus/FIt (and ginkgo unfocus), Label with the --label-filter query language and label sets, suite-level labels, SemVerConstraint/--sem-ver-filter, --focus/--skip and --focus-file/--skip-file, the filtering precedence rules, and…

9.0k 21d ago A 117 tokens original MIT

ordering-and-flakes

07

onsi/ginkgo

Skill Claude CodeCodex

Control spec ordering and manage flaky specs — Serial, Ordered containers with BeforeAll/AfterAll/ContinueOnFailure, OncePerOrdered, SpecPriority, plus FlakeAttempts/--flake-attempts, MustPassRepeatedly, --repeat, and --until-it-fails. Use when specs must run in a fixed order, you need once-per-group setup, you're…

9.0k 21d ago A 111 tokens original MIT

overview

08

onsi/ginkgo

Skill Claude CodeCodex

The Ginkgo mental model for writing Go tests — the one idea that explains everything (Ginkgo builds a spec tree at construction time, then runs it) and its consequences for how you write specs, plus spec independence and the node taxonomy. Use this first when you start working with Ginkgo in a project, or to decide…

9.0k 21d ago A 84 tokens original MIT

parallelism

09

onsi/ginkgo

Skill Claude CodeCodex

Run Ginkgo suites in parallel — ginkgo -p / --procs, the separate-process (not goroutine) model, SynchronizedBeforeSuite/SynchronizedAfterSuite vs BeforeSuite, GinkgoParallelProcess() for sharding ports/tmpdirs/databases, building a binary once via gexec, and piping child-process output to GinkgoWriter. Use when…

9.0k 21d ago A 108 tokens original MIT

reporting

10

onsi/ginkgo

Skill Claude CodeCodex

Generate, consume, and enrich Ginkgo reports — console verbosity (-v/-vv/--trace/--no-color/--succinct), machine-readable reports (--json-report/--junit-report with --output-dir/--keep-separate-reports), programmatic reporting nodes (ReportAfterEach, ReportAfterSuite, CurrentSpecReport), AddReportEntry with…

9.0k 21d ago A 124 tokens original MIT

running

11

onsi/ginkgo

Skill Claude CodeCodex

Run Ginkgo suites with the ginkgo CLI — run, -r, -p, --dry-run, watch, build (precompiled .test binaries), generate, outline, unfocus, labels, version; spec randomization (--randomize-all/--randomize-suites/--seed); running multiple suites (--keep-going/--skip-package/--compilers); previewing (--dry-run…

9.0k 21d ago A 142 tokens original MIT

setup

12

onsi/ginkgo

Skill Claude CodeCodex

Wire Ginkgo into a Go package — install the ginkgo CLI and Ginkgo+Gomega, ginkgo bootstrap to generate the suitetest.go (TestXxx/RegisterFailHandler(Fail)/RunSpecs), the package xxxtest convention, dot-import alternatives (aliased import, dsl/ subpackages, --nodot), ginkgo generate, and testing.T interop via…

9.0k 21d ago A 118 tokens original MIT

onsi/ginkgo

Skill Claude CodeCodex

Parameterize and generate Ginkgo specs — DescribeTable/Entry table-driven specs, Entry descriptions (string, nil, closure, EntryDescription), PEntry/FEntry and per-Entry decorators, DescribeTableSubtree, generating specs in a construction-time loop, loading fixtures in TestXxx before RunSpecs, and shared-behavior…

9.0k 21d ago A 103 tokens original MIT

timeouts-and-async

14

onsi/ginkgo

Skill Claude CodeCodex

Make Ginkgo specs interruptible and test asynchronous behavior — SpecContext/context.Context cancellable nodes, NodeTimeout/SpecTimeout/GracePeriod, the --timeout flag, Abort and SIGINT behavior, Gomega Eventually/Consistently (the func(g Gomega) form, .WithContext), and the defer GinkgoRecover() rule for goroutines.…

9.0k 21d ago A 106 tokens original MIT

writing-specs

15

onsi/ginkgo

Skill Claude CodeCodex

Author good Ginkgo specs — container nodes (Describe/Context/When), subject nodes (It/Specify), setup/cleanup nodes (BeforeEach, JustBeforeEach, AfterEach, DeferCleanup, BeforeSuite/AfterSuite), the "declare in container, initialize in BeforeEach" rule, separating creation from configuration, reusable test helpers…

9.0k 21d ago A 120 tokens original MIT

gomega

16

onsi/gomega

Plugin Claude Code

Plugin marketplace listing 1 plugin: gomega.

2.4k 4d ago A tokens not measured original MIT

gomega

17

onsi/gomega

Plugin Claude Code

Write expressive, correct Gomega assertions in Go. Skills for the Expect/Ω model, synchronous and asynchronous (Eventually/Consistently) assertions, the full matcher catalog, composing and authoring custom matchers, and the gstruct, ghttp, gexec, gbytes, gleak, and gmeasure sub-libraries.

2.4k 4d ago A tokens not measured original MIT

assertions

18

onsi/gomega

Skill Claude CodeCodex

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, annotating assertions (format-string and func()string), tuning failure output via the format subpackage…

2.4k 4d ago A 145 tokens original MIT

async

19

onsi/gomega

Skill Claude CodeCodex

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 Ginkgo SpecContext, StopTrying/TryAgainAfter bail-outs, MustPassRepeatedly, and default-interval tuning. Use when an…

2.4k 4d ago A 104 tokens original MIT

composing-matchers

20

onsi/gomega

Skill Claude CodeCodex

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 predicate, HaveValue to dereference pointers/interfaces, HaveField for struct fields and method results, HaveEach for every…

2.4k 4d ago A 136 tokens original MIT

custom-matchers

21

onsi/gomega

Skill Claude CodeCodex

Writing your own Gomega matchers — the GomegaMatcher interface (Match/FailureMessage/NegatedFailureMessage), gcustom.MakeMatcher with message templates and template data, the format package helpers (format.Message/format.Object), MatchMayChangeInTheFuture and StopTrying for Eventually/Consistently, and how to test and…

2.4k 4d ago A 96 tokens original MIT

gbytes

22

onsi/gomega

Skill Claude CodeCodex

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 Eventually(buffer).Should(Say(...)) streaming pattern, sequential cursor-advancing Say calls, Contents()…

2.4k 4d ago A 123 tokens original MIT

gexec

23

onsi/gomega

Skill Claude CodeCodex

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 matcher (Eventually(session).Should(Exit(0))), Wait/ExitCode, signal via Kill/Terminate/Interrupt/Signal and package-level…

2.4k 4d ago A 110 tokens original MIT

ghttp

24

onsi/gomega

Skill Claude CodeCodex

The ghttp test HTTP server for testing HTTP clients — NewServer/NewTLSServer, AppendHandlers, the Verify assertions (VerifyRequest/VerifyHeader/VerifyHeaderKV/VerifyJSON/VerifyForm/VerifyBasicAuth/VerifyContentType/VerifyBody), RespondWith/RespondWithJSONEncoded(Ptr), CombineHandlers, RouteToHandler for unordered…

2.4k 4d ago A 100 tokens original MIT