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

Organise unit tests to use pytest fixtures (implement remaining files) #178

Conversation

SeanBryan51
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Merging #178 (62d0ff8) into 163-tidy-up-organisation-of-unit-tests (eaa440b) will increase coverage by 8.52%.
The diff coverage is 100.00%.

@@                            Coverage Diff                             @@
##           163-tidy-up-organisation-of-unit-tests     #178      +/-   ##
==========================================================================
+ Coverage                                   78.57%   87.10%   +8.52%     
==========================================================================
  Files                                          25       25              
  Lines                                        1601     1613      +12     
==========================================================================
+ Hits                                         1258     1405     +147     
+ Misses                                        343      208     -135     
Files Coverage Δ
tests/test_fs.py 100.00% <100.00%> (+78.57%) ⬆️
tests/test_pbs.py 100.00% <100.00%> (+80.00%) ⬆️
tests/test_subprocess.py 100.00% <100.00%> (+93.75%) ⬆️
tests/test_workdir.py 100.00% <100.00%> (+83.33%) ⬆️

... and 3 files with indirect coverage changes

Copy link
Collaborator

@ccarouge ccarouge left a comment

Choose a reason for hiding this comment

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

With the merge of #171 (workdir refactor), your base branch has conflicts with main (#172). Can you fix these first, rebase this and update test_workdir.py and test_fs.py? Then I can review.

@SeanBryan51 SeanBryan51 force-pushed the 163-tidy-up-organisation-of-unit-tests branch from c03e814 to eaa440b Compare October 12, 2023 05:42
@SeanBryan51 SeanBryan51 force-pushed the 163-tidy-up-organisation-of-unit-tests-implement-remaining branch from ff2c1bd to 9b38273 Compare October 12, 2023 05:43
@SeanBryan51 SeanBryan51 force-pushed the 163-tidy-up-organisation-of-unit-tests-implement-remaining branch from 9b38273 to 62d0ff8 Compare October 12, 2023 05:55
Copy link
Collaborator

@ccarouge ccarouge left a comment

Choose a reason for hiding this comment

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

I think the design or logic in test_subprocess.py tests need to be rethink, but that's beyond this ticket.

@SeanBryan51 SeanBryan51 merged commit 9d88427 into 163-tidy-up-organisation-of-unit-tests Oct 12, 2023
4 checks passed
@SeanBryan51 SeanBryan51 deleted the 163-tidy-up-organisation-of-unit-tests-implement-remaining branch October 12, 2023 22:44
@SeanBryan51
Copy link
Collaborator Author

I think the design or logic in test_subprocess.py tests need to be rethink, but that's beyond this ticket.

@ccarouge can you make a new issue describing in more detail?

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.

2 participants