-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
filter Unit test #8111
filter Unit test #8111
Conversation
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, you can find updates in the #github-notifications channel in the community Slack. |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #8111 +/- ##
======================================
Coverage 5.22% 5.22%
======================================
Files 124 124
Lines 17522 17522
======================================
Hits 915 915
Misses 16435 16435
Partials 172 172
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
…reating response files Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
@leecalcote @alphaX86 @nebula-aac @hexxdump @abdullah1308 |
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
@Philip-21 Hey I have a PR making a few changes in Once that is merged, make sure these tests still work. |
@Philip-21 Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :) |
I've looked at the pr adding support for WASM filters is a great idea, it seems it will tackle the Error processing JSON response from server, because i also ran the other testcases locally, they failed and gave the same error . |
…e directory Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
@leecalcote ,@abdullah1308 , @Chadha93 👀👀👀 |
@abdullah1308 do you mind offering review here? 🙏 |
}{ | ||
{ | ||
Name: "filter viewcmd with name", | ||
Args: []string{"view", "view-filter-name"}, |
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.
can we add tests to use filter viewcmd
with valid name and some non-existing filtername?
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.
Done
}, | ||
{ | ||
Name: "filter viewcmd with ID", | ||
Args: []string{"view", "c0c6035a-b1b9-412d-aab2-4ed1f1d51f84"}, |
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.
can we have a test for invalid ID as well?
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.
Done
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
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
@leecalcote everything is good with this Pr. |
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Notes for Reviewers
This PR fixes for issue #8087
It contains unit test for the filter.go in mesheryctl
Signed commits