-
Notifications
You must be signed in to change notification settings - Fork 295
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
🌱 Add test coverage for VimMachineService #2444
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2444 +/- ##
==========================================
+ Coverage 63.33% 63.89% +0.55%
==========================================
Files 119 119
Lines 8592 8596 +4
==========================================
+ Hits 5442 5492 +50
+ Misses 2729 2682 -47
- Partials 421 422 +1 ☔ View full report in Codecov by Sentry. |
/retest-required |
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.
Question on this @laozc - do you have a way to run these tests individually locally? Especially through an IDE?
I have a problem running tests formatted in this way i.e. using Describe
instead of a Test.*
function in Intellij/Goland, makes it hard to write tests and hard to review them.
I wrote the test and tested it with the help of Goland which could tell me the coverage in details. What did you meet when you were running these tests? |
I think that's the main point Killian thought of. |
I believe a plugin Ginkgo needs to be installed to support running the test separately in Goland/IntelliJ IDEA. |
The Ginkgo plugin does work which is good for existing tests. Going forward though I think we should conform to the upstream CAPI policy described here.
I'll make a comment to this effect on the umbrella issue too. |
Thanks for the info. |
Sorry, I'll get back to this in a bit. I want to get one bigger change merged first (#2527). Then we can rebase / review / merge this PR |
Sure. Let me rebase it. |
Thank you very much! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
LGTM label has been added. Git tree hash: 20bf5f88212315683841005af9a7e06aeb3ef7ae
|
What this PR does / why we need it:
Add test coverage for
VimMachineService
inpkg/services
Address #2308
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):