Skip to content
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

Add more tests for the argument parsing. #270

Merged
merged 5 commits into from
Apr 27, 2023
Merged

Add more tests for the argument parsing. #270

merged 5 commits into from
Apr 27, 2023

Conversation

samcunliffe
Copy link
Member

@samcunliffe samcunliffe commented Apr 26, 2023

An easy train ride and TI planning background task: add some simple tests of arg-parsing functionality.
Not a high priority to review. (Although should be relatively quick.)

Also, and this is not normally good practice, fix a totally unrelated typo

Easy to add some simple tests of argparsing functionality.
@samcunliffe samcunliffe added the testing Adding or requesting more test coverage label Apr 26, 2023
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.52 🎉

Comparison is base (f6832b2) 47.56% compared to head (09c61e2) 48.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #270      +/-   ##
==========================================
+ Coverage   47.56%   48.09%   +0.52%     
==========================================
  Files          63       63              
  Lines        7804     7804              
==========================================
+ Hits         3712     3753      +41     
+ Misses       4092     4051      -41     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@samcunliffe samcunliffe marked this pull request as ready for review April 26, 2023 17:21
[](const std::string &s) { return s.c_str(); });
return arr;
}
// TODO: check with Will that this doesn't shadow the implementation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am still not super in-the-lingo; but if you're worried that the executable is meant to do this conversion itself, it doesn't.

@samcunliffe samcunliffe merged commit 16387f0 into main Apr 27, 2023
12 checks passed
@samcunliffe samcunliffe deleted the test-arg-parser branch April 27, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Adding or requesting more test coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants