Closed charlieforward9 closed 1 month ago
You can check on README.
I created a CLI to generate spec.ts
file from feature
file.
Example : node node_modules/@amiceli/vitest-cucumber/dist/cli-generate.js features/example.feature src/__tests__/example.spec.ts
Small tweak on the path: it's actually in the scripts
folder, not dist
.
This is exactly what I am looking for though, thank you for building this! Very awesome.
👏🏼
I'll update README to fix script example.
script
is for version before 3.3.0
;)
Now it's dist
and cli-generate
supports Background
.
On 3.3.1-beta.1 I cannot find the cli-generate.js
folder in node_modules
.
I fixed it in new beta version 3.3.1-beta.2
.
Working, thank you.
It would be incredible to have a tool that takes the
.feature
file that is written manually, and automatically generate thedescribeFeature
test.Maybe this would simply be a CLI script?