-
Notifications
You must be signed in to change notification settings - Fork 25
Switch to new pytest runner #96
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
Draft
mandli
wants to merge
14
commits into
clawpack:master
Choose a base branch
from
mandli:new-pytest-test-runner
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
|
We can merge this or not, but it provides a proof of concept that we could do this. I think this may help a lot with more complex testing, such as with the adjoint tests, and help with the use of alternative setrun.py files from arbitrary locations. |
a00219b to
220dfca
Compare
Member
Author
|
Moved the generic code for the test runner into clawutil now, see clawpack/clawutil#96 for details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes the way we are doing testing on a larger scale and adds some new capabilities:
pytestmore directly than the previous tests based onUnitTestpytest --basetemp=setrunis used by path and removes problems with collision of namespytestfixtures to provide other functionality meaning that they can also be expandedThere are a number of other advantages to this approach including using other plugins for PyTest in the future.