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 cli with config tests #495

Merged
merged 10 commits into from
Aug 31, 2024
Merged

Add cli with config tests #495

merged 10 commits into from
Aug 31, 2024

Conversation

CodyCBakerPhD
Copy link
Contributor

Motivation

Turns out we actually didn't have a CLI test for the --config dandi case

Added here, will fail until #494 is merged (at which point it should then pass)

@CodyCBakerPhD CodyCBakerPhD self-assigned this Aug 31, 2024
@CodyCBakerPhD CodyCBakerPhD mentioned this pull request Aug 31, 2024
@CodyCBakerPhD
Copy link
Contributor Author

Proof of intended failure

image

Comment on lines 90 to +91
class TestInspector(TestCase):
"""A common helper class for testing the NWBInspector."""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Peeled out this class so the helpers for asserting log file contents can be used across the suite

Might be worth moving to nwbinspector.testing in a follow-up

@CodyCBakerPhD CodyCBakerPhD enabled auto-merge (squash) August 31, 2024 02:13
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.14%. Comparing base (910ceba) to head (5b6aeee).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #495      +/-   ##
==========================================
+ Coverage   82.06%   82.14%   +0.07%     
==========================================
  Files          47       47              
  Lines        1355     1355              
==========================================
+ Hits         1112     1113       +1     
+ Misses        243      242       -1     
Flag Coverage Δ
unittests 82.14% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

@CodyCBakerPhD CodyCBakerPhD merged commit adf6fe3 into dev Aug 31, 2024
34 of 36 checks passed
@CodyCBakerPhD CodyCBakerPhD deleted the add_cli_with_config_tests branch August 31, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants