Switch to Using ClawpackTestRunner for Testing#697
Open
mandli wants to merge 19 commits intoclawpack:masterfrom
Open
Switch to Using ClawpackTestRunner for Testing#697mandli wants to merge 19 commits intoclawpack:masterfrom
mandli wants to merge 19 commits intoclawpack:masterfrom
Conversation
f7ba443 to
4f7d6bb
Compare
Also adds marks for test groupings and default set of tests to run. This also adds new regression test data for storm surge as the test has been changed to be more robust and cover more of the package. This also includes depending on a local storm file rather than attempting to download data (covered elsewhere in a Python unit test).
The plotting tests have been split into "smoke" tests (does it raise an exception) and actual plotting tests that can be run on request.
Included some bug fixes in storm module for formats that are tested but not used very often. Need to come back to fix the IBTrACS test.
Note: test_dtopo_io has been marked as expected to fail with the measured 5e-4 discrepency noted. This may be due to the precision being used by default to write out the files but needs follow up.
Provides seperation of structure (plotting and writing of data) similar to how other topotools tests are carried out.
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
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 aims to use the new testing framework now used in AMRClaw and Classic to run regression tests from clawutil's
ClawpackTestRunnerclass. This switches everything over to using PyTest and as much functionality as possible from there.Major goals for this particular PR is to use the same testing structure as was in AMRClaw and Classic, but change things minimally to get things working before moving onto to larger structural changes.