Tables And Dynamic Specs

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 closures. Use when you have repetitive specs differing only by inputs, want data-driven or generated specs, or are extracting reusable It blocks across Contexts.

onsi 384d693 7.8 KB Updated

File contents

onsi/ginkgo/tree/main/plugins/ginkgo/skills/tables-and-dynamic-specs commit 384d69318c

Frequently asked questions

npx skillmds@latest add onsi/tables-and-dynamic-specs