-
Notifications
You must be signed in to change notification settings - Fork 632
Separate test utils from tests #2235
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
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2235 +/- ##
==========================================
+ Coverage 71.89% 72.14% +0.24%
==========================================
Files 98 104 +6
Lines 11518 11678 +160
==========================================
+ Hits 8281 8425 +144
- Misses 3237 3253 +16
|
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.
I've written a bit more about this in the issue thread, but I would be up for a much more narrowly scoped PR. But not something this broad.
Moving utilities out of the test suite, I'm up for. Everything else, not so much.
@ivirshup The test failures are a bug exposed by the fixture refactoring. The tests were relying on |
@flying-sheep, I see you're doing some updates here. Are you doing anything to narrow the scope of the PR as requested last go-around? |
I answered that back then already. This PR has exactly the scope necessary to separate test utils and tests. The only thing that I can think of to add to those answers is that the repeated code for all the data fixtures is necessary to make editors understand them. A more dynamic way to make all those fixtures breaks ctrl/cmd-clicking fixtures. |
OK, everything done as we agreed on yesterday:
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…m tests) (#2528) Co-authored-by: Gregor Sturm <[email protected]>
This is basically the minimum amount of changes to separate things out and fix some problems with the test setup, plus unification of how we handle optional dependencies in tests.
Fixes #2225