-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
OpenedDeveloper tools for opened frameworkDeveloper tools for opened frameworkhelp wantedExtra attention is neededExtra attention is neededtestingTest if tool works on specific repositoriesTest if tool works on specific repositories
Description
Is your feature request related to a problem? Please describe.
- We will create a test harness for OPENED extracted modules from monoliths by testing that the modules run.
Describe the solution you'd like - For creating test harness one possible approach will be:
Given a module to be extracted, put in prints/capture the input and output packets when running the module as part of larger monolith. Craft similar packet in scapy and run through extracted module to show equivalence. Specifically: - Write a scapy function to generate the same input packet
- Pass the crafted packet in previous step, to input of extracted function
- Print the output packet inside extracted function
- Compare the outputs of original and extracted functions
- Use bpftool-prog to pass the same input to the extracted module and then check the generated output.
- Report success/failure depending on whether the outputs match.
Metadata
Metadata
Assignees
Labels
OpenedDeveloper tools for opened frameworkDeveloper tools for opened frameworkhelp wantedExtra attention is neededExtra attention is neededtestingTest if tool works on specific repositoriesTest if tool works on specific repositories