Testing eBPF code: automatic tail call resolution
This post continues
Testing eBPF code where it actually runs,
which introduced the Arrange / Act / Assert test framework for eBPF programs
written in Rust with Aya. If you haven’t read it, I recommend starting there:
this post assumes you know what #[arrange], #[act] and #[assert] do. In
the meantime, the framework moved out of Sarena into a repository of its own,
and got a name: gladia.
This implementation: https://github.com/sarena-rs/gladia-ebpf