#[test]
Marks an async function as a test.
use embedded_executor::MemIo; #[embedded_executor::test] // Defaults to MemIo async fn test_basic(executor: _, io: _) { // Your test code } #[embedded_executor::test(PollingIo)] async fn test_with_real_io(executor: _, io: _) { // Your test code }