• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zeeke / sriov-cni / 13672125679

05 Mar 2025 08:57AM UTC coverage: 36.535% (-0.8%) from 37.34%
13672125679

push

github

zeeke
integration-test

Having a test suite that covers the code from an out-of-process perspective helps
in testing specific scenarios, e.g. when the concurrency of multiple program instances
occurs. Also, using test doubles instead of real SR-IOV capable NICs makes tests fast
and portable, in a way that can be run at every commit.

Add a test suite that invokes a system-mocked version of the sriov CNI binary, in which
the `/sys` filesystem content is defined at code, and the network interfaces are of type dummy.

Add `test-integration` make target to invoke the test suite.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>

0 of 144 new or added lines in 2 files covered. (0.0%)

106 existing lines in 4 files now uncovered.

563 of 1541 relevant lines covered (36.53%)

1.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

19.77
/pkg/utils/testing.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc