Run your node logic against recorded MCAP fixtures and assert on topics, latency, and dropped messages — regression tests grounded in real robot logs.
Install
= "0.1"
Or use the #[clankers::replay_test] macro from the clankers facade.
Example
use Duration;
use ;
async
Assertions
| Function | Checks |
|---|---|
assert_topic_exists |
A topic appeared during replay |
assert_no_panics |
Handler completed without panics |
assert_dropped_messages |
Drop count within budget |
assert_max_latency |
p99 latency under a ceiling |
Learn more
License
MIT — see LICENSE.