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

Integrate with vitest-vscode plugin #62

Open
charlieforward9 opened this issue Apr 8, 2024 · 17 comments
Open

Integrate with vitest-vscode plugin #62

charlieforward9 opened this issue Apr 8, 2024 · 17 comments

Comments

@charlieforward9
Copy link

charlieforward9 commented Apr 8, 2024

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
Copy link
Owner

amiceli commented Apr 9, 2024

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

@charlieforward9
Copy link
Author

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
Copy link
Owner

amiceli commented Apr 10, 2024

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

@amiceli
Copy link
Owner

amiceli commented Apr 17, 2024

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

@charlieforward9
Copy link
Author

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

@amiceli
Copy link
Owner

amiceli commented Apr 26, 2024

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

@charlieforward9
Copy link
Author

Similar issue in browser mode.

@amiceli
Copy link
Owner

amiceli commented Jan 21, 2025

In browser I only use fetch instead of node:readline to load feature file.
Nothing change for describe, test etc.

You still have missing icons ?

@charlieforward9
Copy link
Author

Yes icons are still missing.

@amiceli
Copy link
Owner

amiceli commented Jan 22, 2025

I'll check issues on vitest vscode repository.

I don't see what I can do in vitest-cucumber.

@amiceli
Copy link
Owner

amiceli commented Jan 24, 2025

I found nothing in vitest vscode issues for this bug.

I test late vitest vscode version and 4.3.0 vitest-cucumber version with vitest-browser-vue project.

I've all icons.

Image

@charlieforward9
Copy link
Author

The icons show up in the navigation bar, but as the problem description indicates, they do not show up in-line with the code.

I will try to provide more details

@amiceli
Copy link
Owner

amiceli commented Jan 24, 2025

You right, I checked. I've only an icon for describeFeature.

EDIT:
I try on vitest-cucumber repository tests, I've same bug.
Even if I don't use browser mode.

@amiceli
Copy link
Owner

amiceli commented Jan 25, 2025

I tried with different vitest-cucumber versions, with / without browser mode.
I've same bug with icons.

I can't find where the bug comes from.

@amiceli
Copy link
Owner

amiceli commented Jan 25, 2025

vitest-cucumber still uses describe, test, etc.
It should works out of the box.

You can re-open discussion / issue on vitest vscode. If needed a vitest-cucumber fix, i will re-open this issue and create a branch etc.

@amiceli
Copy link
Owner

amiceli commented Feb 3, 2025

@charlieforward9 any news ? Do you open a new issue/discussion on vitest vscode repository ?

@charlieforward9
Copy link
Author

@amiceli nothing yet, I have been trying to resolve more pressing issues at the moment, but I have this issue saved to get back to when I can dedicate more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants