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 Updated 31 repo stars

File contents

onsi/ginkgo commit 384d69318c

Frequently asked questions

npx get-skill add onsi/tables-and-dynamic-specs