-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Improve tests for SourceMapper
#6113
Improve tests for SourceMapper
#6113
Conversation
Once the build is green and you tell me this is good to go, I will take care of cherry-picking this into For a clean(er) history, I would appreciate it if you could squash these changes into a single commit. Sorry for the inconvenience. |
SourceMapper
a99a217
to
c0f0771
Compare
- Created a static factory method for `Source` to remove the redundant constructor arguments. - Created a static helper method to resolve the fixture path. - Test prefix inclusion and exlusion - Test suffix inclusion and exlusion
c0f0771
to
89391ec
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6113 +/- ##
=========================================
Coverage 95.07% 95.07%
Complexity 6730 6730
=========================================
Files 724 724
Lines 21195 21195
=========================================
Hits 20151 20151
Misses 1044 1044 ☔ View full report in Codecov by Sentry. |
Thank you! I'll take care from here. |
Cherry-picked into |
This PR:
I hope I haven't been overzealous in refactoring the test, let me know if you want me to revert it to the original format.
Would this be against main or a previous version?