vimto: virtual machine testing for go test
vimto
is a small program which grew out of my need to run the unit tests for
the cilium/ebpf
library under a variety of Linux kernels. It’s inspired
by virtme. I built vimto
to integrate it very tightly with the Go toolchain
and ecosystem and to put an emphasis on easy setup and low overhead.
After installing the tool you can run your tests like so:
go test -exec vimto -vm.kernel ghcr.io/cilium/ci-kernels:stable
You can find the source code and installation instructions on GitHub.
Other similar projects with less of an emphasis on Go: