Skip to main content
onsi
ملف منشئ GitHub

onsi

عرض على مستوى المستودعات لـ ٣٧ skills مجمعة عبر ٣ مستودعات GitHub.

skills مجمعة
٣٧
مستودعات
٣
محدث
١٠ أغسطس ٢٠٢٦
مستكشف المستودعات

المستودعات و skills الممثلة

ci
مطوّرو البرمجيات

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…

١٤ يونيو ٢٠٢٦
debugging-failures
محللو ضمان جودة البرمجيات والمختبرون

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).…

١٤ يونيو ٢٠٢٦
decorators
محللو ضمان جودة البرمجيات والمختبرون

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,…

١٤ يونيو ٢٠٢٦
filtering
محللو ضمان جودة البرمجيات والمختبرون

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…

١٤ يونيو ٢٠٢٦
ordering-and-flakes
محللو ضمان جودة البرمجيات والمختبرون

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…

١٤ يونيو ٢٠٢٦
overview
محللو ضمان جودة البرمجيات والمختبرون

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…

١٤ يونيو ٢٠٢٦
parallelism
محللو ضمان جودة البرمجيات والمختبرون

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…

١٤ يونيو ٢٠٢٦
reporting
محللو ضمان جودة البرمجيات والمختبرون

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,…

١٤ يونيو ٢٠٢٦
عرض 8 من أصل ١٣ skills مجمعة.
assertions
محللو ضمان جودة البرمجيات والمختبرون

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),…

١٤ يونيو ٢٠٢٦
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 Ginkgo SpecContext, StopTrying/TryAgainAfter bail-outs,…

١٤ يونيو ٢٠٢٦
composing-matchers
محللو ضمان جودة البرمجيات والمختبرون

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,…

١٤ يونيو ٢٠٢٦
custom-matchers
محللو ضمان جودة البرمجيات والمختبرون

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…

١٤ يونيو ٢٠٢٦
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 Eventually(buffer).Should(Say(...)) streaming pattern, sequential…

١٤ يونيو ٢٠٢٦
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 matcher (Eventually(session).Should(Exit(0))), Wait/ExitCode,…

١٤ يونيو ٢٠٢٦
ghttp
محللو ضمان جودة البرمجيات والمختبرون

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

١٤ يونيو ٢٠٢٦
gleak
محللو ضمان جودة البرمجيات والمختبرون

gleak goroutine leak detection — capture a Goroutines() snapshot before a test, then Eventually(Goroutines).ShouldNot(HaveLeaked(snapshot)) to assert none leaked, with the BeforeEach/AfterEach/DeferCleanup pattern, ignoring matchers…

١٤ يونيو ٢٠٢٦
عرض 8 من أصل ١٢ skills مجمعة.
debug-failures
غير مصنف

See why a Biloba spec failed or flaked — the on-failure artifacts (DOM outline + screenshots + poll trajectory of the timed-out read + the visual-regression diagnosis with its .actual.png/.diff.png, the "never settled" warning an update run prints + the…

١٠ أغسطس ٢٠٢٦
visual-assertions
غير مصنف

Assert that a page or element still looks right with Biloba's visual regression matcher (b.HaveScreenshot) — writing the assertion, the golden-master workflow for creating and updating committed baselines with BILOBA_UPDATE_SCREENSHOTS=1 (review the…

١٠ أغسطس ٢٠٢٦
biloba-dom-method
غير مصنف

How to add a new DOM interaction or matcher to Biloba (a browser-action method like Click/SetValue/HaveProperty). Use when adding or modifying a browser-side primitive that touches biloba.js and the Go wrapper, or when implementing the dual immediate/matcher…

١٠ أغسطس ٢٠٢٦
api
غير مصنف

One-line reference for every Biloba method and matcher, grouped by area — selectors/locators, lifecycle, poll-config (WithTimeout/WithPolling/WithContext/Immediate), capturing a matcher's observed value (.Capture), navigation (GetLocation/GetTitle),…

١٠ أغسطس ٢٠٢٦
overview
غير مصنف

The Biloba mental model for writing browser tests in your own Ginkgo/Gomega suite — the three principles and the consequences they have for how you write specs (pragmatic simulation, poll-by-default, drop-to-chromedp, visual regression against committed…

١٠ أغسطس ٢٠٢٦
setup
غير مصنف

Wire Biloba into your project's Ginkgo suite — go get, the bootstrap file (SynchronizedBeforeSuite + Prepare), installing chrome-headless-shell, choosing high-fidelity vs the fast headless shell, the three bootstrap variations (shared vs per-process browser,…

١٠ أغسطس ٢٠٢٦
write-tests
غير مصنف

Author good Biloba specs in your own Ginkgo/Gomega suite — the dual immediate/matcher API (act now vs. return a matcher you poll with Eventually), capturing a matcher's observed value with .Capture instead of asserting-then-re-reading, first-vs-all naming,…

١٠ أغسطس ٢٠٢٦
explore-unfamiliar-page
غير مصنف

Orient to a page or app you haven't seen, then draft a starter Biloba spec. Use when writing browser tests against an unfamiliar URL or fixture — it drives the page once to dump its DOM outline, accessibility tree, and a screenshot so you can SEE it, then…

٦ أغسطس ٢٠٢٦
عرض 8 من أصل ١٢ skills مجمعة.
عرض ٣ من أصل ٣ مستودعات
تم تحميل كل المستودعات