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

Async tests marked with "#[tokio::test]" run successful checkmark not displayed #233

Open
l3utterfly opened this issue Jun 17, 2022 · 4 comments

Comments

@l3utterfly
Copy link

Any async tests marked with #[tokio::test] are displayed properly in the sidebar, but the checkmark is not displayed after successful run.

@calebcartwright
Copy link
Member

Wanted to acknowledge seeing this, but will be a while before I have a chance to dig in. If you have a simple repro repo you could share that'd help, though also may not be necessary if this is readily reproducible with any such test

@jens-auer
Copy link

I created a very simple example with a tokio test as a fork of your repo:
https://github.com/jens-auer/vscode-rust-test-adapter/tree/tokio-test.

It has examples for three async runtimes tokio, async_std and smol. I also added a quickcheck example which is not detected. I think there are lots of custom test macros that are not detected.

@Oyabi
Copy link

Oyabi commented Jun 27, 2023

Same here, have you any idea for resolving this issue ?

@kanpov
Copy link

kanpov commented Jul 6, 2024

Any async tests marked with #[tokio::test] are displayed properly in the sidebar, but the checkmark is not displayed after successful run.

For me, these tests (specifically they're in tests dir) aren't even displayed, so this extension is just completely useless

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

5 participants