Skip to content

Questions? Join our Discord.

JasperFx

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

Specifications for a Critter Stack slice Added in 1.7.0 ​

Write the Bobcat specifications for a Critter Stack slice as projected xUnit specs: generate them from an eventmodelers.ai board with Wolverine's write-specs command from WolverineFx.Bobcat.EventModel (one WolverineFx.Bobcat spec per board example, bound to its slice; it was bobcat import-event-model --specs before Bobcat 1.0.0-rc.2) and review what the generator wrote, or hand-write them from the slice's shape when there is no board example (a hand-declared EventModelDefinition, a slice with code, an edge case). Covers reading a slice's shape off the model or the types, the spec shape per pattern (command, stream start, several streams, automation, view, query, HTTP, store-only, DCB), which edge cases are worth a spec, matching the refusal assertion to how the handler refuses, checking the slice's Domain and asking the user when declarations disagree before writing a spec into a module, keeping {Feature}/{Scenario} identities stable while the board still drives a slice, renaming generated specs to behaviour names once the slice is green (what a class, method or [BobcatFeature] rename costs, the procedure, the naming style from CritterCrush), Pending stubs, and verifying a spec suite is red for the right reason before implementation starts.

Use when asked to write or scaffold specs for a command, aggregate or Event Model slice, to cover a slice with none, or to review generated specs.

Skill details ​

  • Skill name: critterstack-sdd-specs-from-model
  • Applies to: wolverine, marten, polecat, fisher
  • Tags: sdd, bobcat, specifications, event-modeling, scaffolding, testing, edge-cases, import-event-model, write-specs, stoat
  • Added in: 1.7.0
  • License: Proprietary. Copyright JasperFx Software LLC.

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