Skip to content

feature request: #[test] Attribute Macro for embassy-executor (std-only) #4192

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

Open
AlixANNERAUD opened this issue May 13, 2025 · 0 comments · May be fixed by #4201
Open

feature request: #[test] Attribute Macro for embassy-executor (std-only) #4192

AlixANNERAUD opened this issue May 13, 2025 · 0 comments · May be fixed by #4201

Comments

@AlixANNERAUD
Copy link
Contributor

AlixANNERAUD commented May 13, 2025

It would be great to have a #[test] attribute macro in embassy-executor, similar to #tokio::test. This would enable running async unit tests within an Embassy runtime, without the need for boilerplate setup.

The feature would target std environments (e.g., desktop), and be especially useful for quickly testing logic-only components in isolation.

If this sounds like a useful addition, I'd be happy to work on an implementation.

@AlixANNERAUD AlixANNERAUD linked a pull request May 14, 2025 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.

1 participant