For now my suggestion would be to have two kinds of tests
- unit tests (with some mocks, to not have to load actual BPF programs when running as user)
- integration tests with runc/podman, something local and lightweight (requiring root, doing actual BPF operations)
For future we might consider also some E2E tests with Kubernetes.
For now my suggestion would be to have two kinds of tests
For future we might consider also some E2E tests with Kubernetes.