Integration Tests - ligato/vpp-agent GitHub Wiki
VPP Integration Tests
https://github.com/ligato/vpp-agent/blob/dev/tests/integration/README.md
Quick start (using Makefile)
Run tests with the default VPP version
make integration-tests
Run tests with a specific version of some VPP release (has to be listed in vpp.env)
make integration-tests VPP_VERSION=1908
make integration-tests VPP_VERSION=1904 # this is default
make integration-tests VPP_VERSION=1901
Running tests (using vpp_integration.sh script)
Before running the tests via script you have to set VPP_IMG variable to the image that should be used.
The simplest way is to export it like this:
export VPP_IMG=ligato/vpp-base:19.04
To run with other images, check the vpp.env file for a list of supported ones.
Run in verbose mode
./tests/integration/vpp_integration.sh -test.v
Run specific test case
./tests/integration/vpp_integration.sh -test.run TestPing
Run specific test case in verbose mode
./tests/integration/vpp_integration.sh -test.v -test.run TestPing
Test cases
- test installing VPP (deb packages)
- test starting VPP
- test running VPP
- check crash
- check CLI
- check binary API
- check stats API
- test generating binapi
- test compiling with all supported VPP versions (vppapiclient)
- test connecting to VPP
- check API compatibility
- ...