Closed ccascone closed 3 years ago
We decided to go with the PTF approach
Hard disagree on the pre/post-commit part. Running the ptf tests against tofino model takes at least 5min. And there is no way to make use everyone runs these locally. This clearly belongs into the CI pipeline.
I wonder if this is applicable to a wider range of projects, and thus could be a standalone tool.
Part of normal PTF tests:
Tool that generates testvectors from p4info:
Completely standalone tool:
For example: