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

tokio::test equivalent? #181

Open
ileixe opened this issue Nov 21, 2022 · 2 comments · May be fixed by #209
Open

tokio::test equivalent? #181

ileixe opened this issue Nov 21, 2022 · 2 comments · May be fixed by #209

Comments

@ileixe
Copy link

ileixe commented Nov 21, 2022

All of my tests have such boilerplate below

    #[test]
    fn test_nec_async_read() {
        tokio_uring::start(async {
            ....
        });
    }

is it possible to add macro like https://docs.rs/tokio/latest/tokio/attr.test.html?

@Noah-Kennedy
Copy link
Contributor

This is a worthwhile feature, and PRs would certainly be welcome here.

@nrabulinski
Copy link

If no one is working on this I’d like to take a shot at implementing this

@nrabulinski nrabulinski linked a pull request Jan 4, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants