-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(decl): add test suites support and adapt logging #262
feat(decl): add test suites support and adapt logging #262
Conversation
674efec
to
c0df0f6
Compare
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.
Thanks @ekoops for this PR.
I left some minor comments.
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
Replace labels with baggages of supported key-value pairs. Augment the propagated info and use them in logs. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
c0df0f6
to
7584236
Compare
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.
/lgtm
LGTM label has been added. Git tree hash: 70308befa8718b80aa423516a018a8ed2dee1b0a
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alacuku, ekoops The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
d02deab
into
falcosecurity:declarative-testing
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area pkg
What this PR does / why we need it:
This PR adds support for test suites. A test suite is uniquely associated with a rule: all tests associated to a single rule belong to the same test suite. As
declarative run
anddeclarative test --skip-outcome-verification
commands let the user omit the rule name, in this context, all tests omitting the rule name are associated to the same special test suite identified by the empty string""
.Moreover, the logging and the logging attributes propagation were improved (cleaned an augmented with additional info regarding tests source files and belonging suites).
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: