-
Notifications
You must be signed in to change notification settings - Fork 3
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 PineAPPL's CLI #95
Conversation
Are you really sure you want to test the full hardcoded docstring? If at some point you'll want to update |
The |
I agree that I agree that coverage is a good thing, but nor 100% is granting to be bug free, neither any other reason exists to make 100% strictly required: for as long as you know what you are testing, and more important what not, that's perfectly fine (but this of course is only my personal point of view). |
My point is more that we don't have any tests for the CLI, which is potentially dangerous. While writing tests I already discovered a problem that is also present in master (fixed in commit 10c659e). I agree that the |
PineAPPL's CLI must be built before running its tests
Codecov Report
@@ Coverage Diff @@
## master #95 +/- ##
==========================================
- Coverage 86.00% 85.91% -0.10%
==========================================
Files 14 31 +17
Lines 2080 3025 +945
==========================================
+ Hits 1789 2599 +810
- Misses 291 426 +135
Continue to review full report at Codecov.
|
This branch is supposed to rework the CLI to
clap
's derive feature that makes it much easier to write an easy-to-understand subcommand andchannels
convolute
diff
info
luminosity
merge
optimize
orders
pdf_uncertainty
plot
pull
remap
set
subgrids
sum
upgrade