-
Notifications
You must be signed in to change notification settings - Fork 4
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
[SDTEST-477] add command line tool to compute a percentage of skippable tests for RSpec #194
[SDTEST-477] add command line tool to compute a percentage of skippable tests for RSpec #194
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #194 +/- ##
==========================================
- Coverage 98.86% 98.85% -0.02%
==========================================
Files 279 280 +1
Lines 13603 13647 +44
Branches 637 641 +4
==========================================
+ Hits 13449 13491 +42
- Misses 154 156 +2 ☔ View full report in Codecov by Sentry. |
6b21d41
to
c050ca4
Compare
d411a96
to
4d8a92a
Compare
68a1dc3
to
9bbc5ec
Compare
…or the current test run
2636bc7
to
a4872e7
Compare
Example usage: | ||
|
||
```bash | ||
$ RAILS_ENV=test bundle exec ddcirb skipped-tests |
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.
should we show an example of the output? Or is that somewhere else?
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.
the output just one line below
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.
0.45 is the output
What does this PR do?
Adds a command line interface
ddcirb
that outputs percentage of skipped tests for the current test run.Documentation on the usage is provided within PR in CommandLineInterface.md file.
Motivation
This tool is useful to determine a number of parallel jobs when running big rspec test suites.
How to test the change?
Tested using https://github.com/anmarchenko/forem project.