Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds another GitHub Workflow test.yaml for executing tests against a running VPP instance. The tests run against 3 latest releases of VPP, 22.10, 22.06, 22.02, installed from the official debian package published by FD.io to packagecloud.
All the testing against a running VPP instance are located under
test/integration
. Thetest/vpptesting
package provides a dead simple way to setup fresh VPP instance and is used in all tests. The tests are written as traditional Go unit test. There are few basic test cases included in this PR:TestExamples
- runs all the GoVPP examplesTestVersion
- checks if the version retrieved via binary API is non-empty:govpp/test/integration/binapi_test.go
Lines 25 to 39 in eb3dddd
TestStatClient*
- runs all stats client methodsYou can run the integration tests by running: