Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Gherkin feature file in unit tests with vitest #3892

Closed
4 tasks done
amiceli opened this issue Aug 4, 2023 · 3 comments
Closed
4 tasks done

Use Gherkin feature file in unit tests with vitest #3892

amiceli opened this issue Aug 4, 2023 · 3 comments

Comments

@amiceli
Copy link

amiceli commented Aug 4, 2023

Clear and concise description of the problem

In my company we use jest-cucumber to run our unit tests with our Gherkin feature file.

It allow to run unit tests checking if we missed a Scenario or a Scenario step like When.

Currently we moved to vitest in some project but we don't have a hest-cucumber alternative.

Suggested solution

I've created a repository vitest-cucumber with we can run unit tests using our Gherkin feature file.

It provides same method like jest-cucumber : Scenario, When etc

So when we run unit test it check if we forgot a Scenario, or type a bad etc.

Alternative

No response

Additional context

I also publish vitest-cucumber on npm @amiceli/vitest-cucumber.

I would like to have your opinion.

Validations

@sheremet-va
Copy link
Member

I am not sure what this issue is about. The choice of testing style in Vitest is deliberate and we do not plan to add different styles - this is left to the community to figure out and publish their own solutions (like you did).

@amiceli
Copy link
Author

amiceli commented Aug 16, 2023

I'm OK with you. maybe I misspoke.
It's just a project that I want to share with Vitest community like vitest-cucumber-plugin.

And have some feedback about this project ;).
I close this issue ?

@sheremet-va
Copy link
Member

Regular people rarely read issues. If you want to tell about your project, I would recommend discord. Link should be in the docs header.

@sheremet-va sheremet-va closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants