amiceli / vitest-cucumber

Use gherkin in your unit tests with vitest
https://vitest-cucumber.miceli.click
25 stars 2 forks source link

Integrate with vitest-vscode plugin #62

Closed charlieforward9 closed 2 months ago

charlieforward9 commented 2 months ago

When I use this tool in VSCode, I am not able to run tests with the testing tab in the navigator.

This would be very helpful to be able to see all the tests in my workspace.

When I replace describe with describeFeature, these disappear:

image

image

amiceli commented 2 months ago

I'm not an expert on VsCode but I will check it. I will update this issue if I found a solution ;).

charlieforward9 commented 2 months ago

It looks like this is in the process of being developed. Discussed here. This issue can be closed when the bug? I found is addressed.

amiceli commented 2 months ago

I reply in bug, I'm following that. Maybe there are some improvements to do in vitest-cucumber.

amiceli commented 2 months ago

@charlieforward9 You can check new answer in the bug discuss. Stack limit was increased and it should work ;)

charlieforward9 commented 2 months ago

After updating vitest/vscode to v0.8.6, I am seeing the icons on each Cucumber statement.

amiceli commented 2 months ago

Nice, I will keep an eye on this vscode plugin for my futur changes ;).