Comments (1)
After #34, I felt all but qpipe were straightforward and are not bringing good coverage. Should we instead write our own test cases as we have done in the past?
To build a good testing module, we need to cover all type
of DFA transition combinations on the parser, maybe also keeping in mind the optimizations done by p4c.
The type
is dependent on - input state, output state, and transition.
An input state can be one or more of -
- Start state
- in-built / non in-built
- can / can-not do some processing before the transition (we know that can-not is buggy)
An output state can be one or more of -
- Accept state
- in-built / non-inbuilt
A transition can be -
- based on multiple fields from different headers (not supported)
- one field, different header
- one field, same header
- multiple fields, same header
- always
- default
I don't think these should be too many test cases to build, but I'm not sure.
from p4-traffictool.
Related Issues (16)
- Master and develop not in sync
- ./install.sh does not really install HOT 5
- Incorrect code generation for a specific parser graph
- Code Generation for Scapy
- Better error reporting
- Update Dependencies in Readme HOT 1
- Better and smarter top-level bash script
- Correcting the use of the compiler
- Website Improvements HOT 1
- Dockerization
- Top-level script doesn't check for the input P4 file HOT 1
- Tool doesn't handle default transitions in the parser HOT 1
- Inconsistency in graph structure HOT 1
- p4-traffictool cannot generate scapy code HOT 1
- Add info about more similar tools in SimilarTools.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4-traffictool.