Ignore call base class contructor in code coverage#2553
Merged
Conversation
c3ab7e7 to
156c0ad
Compare
This was referenced Aug 2, 2024
nohwnd
reviewed
Oct 1, 2024
Member
nohwnd
left a comment
There was a problem hiding this comment.
wow those tests must have been super annoying to fix 😒
nohwnd
approved these changes
Oct 1, 2024
nohwnd
pushed a commit
that referenced
this pull request
Oct 30, 2024
* Ignore calls to base class constructor in code coverage * Update tests
nohwnd
added a commit
that referenced
this pull request
Nov 17, 2024
* Implement Cobertura coverage format (#2298) * wip: Implement Cobertura coverage format * fix unit test * revert editor settings change * remove ?? operator * fix attribute ordering * make coverage report test work on all platforms * Fix windows paths * fix unit test for Windows paths * kick the build * re-implement Cobertura coverage report generation * fix compatibility issues * fix tests * removing Cobertura from v4 parameter options * fix compatibility with ReportGenerator * Update src/functions/Coverage.ps1 Co-authored-by: Frode Flaten <3436158+fflaten@users.noreply.github.com> * fix whitespace * fix output * fix windows paths * order packages,classes,methods by name * change Cobertura DTD to loose * Tune coverage report for performance * Remove outdated condition * Add Cobertura DTD file * Apply suggestions from code review Co-authored-by: Jakub Jareš <me@jakubjares.com> * Fix typo and update JaCoCo starttime * Fix tests * Use epoch time for Cobertura and JaCoCo * Update test --------- Co-authored-by: Frode Flaten <3436158+fflaten@users.noreply.github.com> Co-authored-by: Jakub Jareš <me@jakubjares.com> * Ignore call base class contructor in code coverage (#2553) * Ignore calls to base class constructor in code coverage * Update tests * Unix timestamps with supported apis * Add info about mode * output bps * output bps * output bps * What if we don't call it? * Revert "What if we don't call it?" This reverts commit 1c03a6b. * bsclass --------- Co-authored-by: Joe Skeen <joeskeen@users.noreply.github.com> Co-authored-by: Frode Flaten <3436158+fflaten@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Calls to base constructors
base()were discovered but never hit by breakpoint or tracer CC. PowerShell only hits scriptblock contents of both constructors.Adding base ctor call to ignore command list.
Issue reported on Discord: https://discord.com/channels/180528040881815552/447476910499299358/1268943815272828998
PR Checklist
Create Pull Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.