Skip to content

Questions? Join our Discord.

JasperFx

Formal support for Wolverine, Marten, and Polecat is available through our Support Plans.

Authoring Critter Stack specs with Bobcat Added in 1.7.0 ​

API reference for authoring Critter Stack specifications with Bobcat's code-first (projected) model: ordinary xUnit v3 or TUnit test methods that render as Given/When/Then. Covers the spec project (xunit.v3 4.x on Microsoft.Testing.Platform 2, the global.json test runner, Bobcat.Generators and the BOBCAT037 interceptor opt-in), CritterStackSpec (store-only, Marten/Polecat/Fisher) and WolverineSpec / WolverineHttpSpec with the full vocabulary (GivenEvents, GivenContext, WhenReceived, WhenPosted, ThenEvents, ThenAggregate, ThenReadModel, ThenRefusedWith, messages, DCB boundaries, WhileActing/ThenRetried, ThenEventuallyCaused, several stores), partial objects and collection expectations (Expect.Exactly / InAnyOrder / Containing / NoneOf / Rows, tolerances), step helpers and SpecAssert, tables, decision tables and set verification, binding a spec to its Event Model slice ([BobcatSpec], [BobcatSlice], [EventModelRole], [EventModelTrigger], query slices, [assembly: EventModelName]), and running specs (dotnet test, the bobcat CLI, Stoat monitor publishing, the supervisor, the resident runner).

Use when writing, reviewing or running a Bobcat spec, when a spec passes or fails for a reason you do not understand, when a BOBCAT diagnostic appears, or when wiring specs into CI. Gherkin, .feature files and CritterStackFixture no longer exist.

Skill details ​

  • Skill name: critterstack-sdd-bobcat-authoring
  • Applies to: wolverine, marten, polecat, fisher
  • Tags: sdd, bobcat, specifications, event-modeling, testing, xunit, tunit, marker-steps, spec-assert, ci, supervisor, stoat
  • Added in: 1.7.0
  • License: Proprietary. Copyright JasperFx Software LLC.

Proprietary. Copyright © JasperFx Software LLC. See the license for terms.