Gherkin's real value isn't the .feature file. It's the discipline it imposes: a test that reads as a specification — given this, when that, then this — while every implementation detail stays hidden one level down. A colleague should be able to read the test body and understand the feature without reading a single line of setup code.
Gherkin-style tests with plain Vitest (no extra library)
· 14 min read
