-
-
Notifications
You must be signed in to change notification settings - Fork 19
Coverage tweaks #498
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
Merged
Merged
Coverage tweaks #498
Conversation
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
Allow generation of unreachable code locally Fix gaps in `clock` coverage
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Flags with carried forward coverage won't be shown. Click here to find out more.
📢 Thoughts on this report? Let us know! |
PallasAthenaie
pushed a commit
to athena-framework/clock
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/console
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/event-dispatcher
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/image-size
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/framework
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/mercure
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/negotiation
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/routing
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
PallasAthenaie
pushed a commit
to athena-framework/validator
that referenced
this pull request
Jan 20, 2025
* Breaking: Rename `ACON::Completion::Input#must_suggest_values_for?` to `#must_suggest_option_values_for?` to better describe what it does * Clear component `coverage/` dir when running coverage specs for that component * Include `spec/` directories in code coverage reporting to allow capturing duplicate named spec methods * Fix typing of `#now` and `#clock=` for `Athena::Clock::Aware` * Fix various methods that were failing once they started being used * Improve test coverage in most components
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking
component:clock
component:console
component:event-dispatcher
component:framework
component:image-size
component:mercure
component:negotiation
component:routing
component:validator
kind:bug
An existing feature isn't working as expected
kind:infrastructure
kind:specs
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.
Context
As primarily a one person developer, I rely heavily on Athena's test suite to ensure things are working as expected as I make changes. The recent push to better integrate code coverage reporting is a direct result of this.
This PR makes some minor tweaks to how coverage is handled locally and does a pass on the methods flagged via
crystal tool unreachable
, fixing a fair amount of holes in Athena's test coverage and fixes several bugs as a result.Changelog
ACON::Completion::Input#must_suggest_values_for?
toACON::Completion::Input#must_suggest_option_values_for?
to better describe what it doescoverage/
dir when running coverage specs for that componentspec/
directories in code coverage reporting to allow capturing duplicate named spec methods#now
and#clock=
forAthena::Clock::Aware
Before merging, remember to add the
athena-framework/athena
prefix to the PR number in the PR title