We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the catchr uses #[test] to mark tests.
Which is good for usual tests, but async is so contagious that even tests are affected.
For async code (with tokio in my case) common way is to use #[tokio::test] instead of #[test] (and other runtimes have similar, eg actix_rt::test).
Can we have support for that?
The text was updated successfully, but these errors were encountered:
Hey, definitely.
I've actually been working on a larger refactoring which would've included async support.
But now I think I can add this feature standalone.
I'll probably take a stab at it over the weekend, but I'm not making any promises.
Sorry, something went wrong.
Hey added support for #[tokio::test] with the usage of describe_tokio! hope this serves your needs.
#[tokio::test]
describe_tokio!
No branches or pull requests
Currently the catchr uses #[test] to mark tests.
Which is good for usual tests, but async is so contagious that even tests are affected.
For async code (with tokio in my case) common way is to use #[tokio::test] instead of #[test] (and other runtimes have similar, eg actix_rt::test).
Can we have support for that?
The text was updated successfully, but these errors were encountered: