-
Notifications
You must be signed in to change notification settings - Fork 33
feat: implement quantitative tests using raw files #524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about making leipzig
and raw
subcommands of corpus
. They can inherit all the stuff from the corpus
command (which wouldn't have any functionality itself) and implementation would be very concise for each of them (and new types).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this would be then go-ftw quantitative corpus raw ....
for example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
s.tempDir, err = os.MkdirTemp("", "raw_corpus_test") | ||
s.Require().NoError(err) | ||
|
||
// Create a test file with sample payloads | ||
s.tempFile = filepath.Join(s.tempDir, "test_corpus.txt") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s.tempDir, err = os.MkdirTemp("", "raw_corpus_test") | |
s.Require().NoError(err) | |
// Create a test file with sample payloads | |
s.tempFile = filepath.Join(s.tempDir, "test_corpus.txt") | |
// Create a test file with sample payloads | |
s.tempFile = filepath.Join(s.T().TempDir(), "test_corpus.txt") |
suite.Suite | ||
corpus corpus.Corpus | ||
tempFile string | ||
tempDir string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tempDir string |
what
why
refs