-
Notifications
You must be signed in to change notification settings - Fork 283
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
Feature pytest conversion #5824
Closed
Closed
Conversation
This file contains 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
* added pytest iris class * actioned majority of review comments * converted remaining functions to camel_case * actioned majority of review comments
[CI Bot] environment lockfiles auto-update
…ncatenate Convert `tests.unit.concatenate.test_concatenate` to pytest.
…besignature Convert to pytest : `lib/iris/tests/unit/concatenate/test__CubeSignature`
* Rewrite result_path. * Review comments.
github-actions
bot
added
the
benchmark_this
Request that this pull request be benchmarked to check if it introduces performance shifts
label
Mar 12, 2024
⏱️ Performance Benchmark Report: fcb1dfaPerformance shifts
Full benchmark results
Generated by GHA run |
* pytest migration for unit.common.lenient.test_Lenient * assert order * review actions
⏱️ Performance Benchmark Report: 6ca73b8Performance shifts
Full benchmark results
Generated by GHA run |
…t `request` (#5827) * Rewrite result_path to use the pytest request fixture. * More explicit guidance on the request fixture.
⏱️ Performance Benchmark Report: e1d9efaPerformance shifts
Full benchmark results
Generated by GHA run |
…tory Pytest for /unit/aux_factory_test_AuxCoordFactory
Pytests unit/aux_factory/test_AtmosphereSigmaFactory
⏱️ Performance Benchmark Report: 5a4f5e5Performance shifts
Full benchmark results
Generated by GHA run |
⏱️ Performance Benchmark Report: 0f20806Performance shifts
Full benchmark results
Generated by GHA run |
* PyTest-compatible check_graphic. * Demonstrate new check_graphic in test_plot. * 7c4f700 * Revert "7c4f7003a" This reverts commit 68f81ac. * Revert "Demonstrate new check_graphic in test_plot." This reverts commit 7c4f700. * Tidy up other unittest references in iris.tests.graphics. * Tidy up other unittest references in iris.tests.graphics. * check_graphic_caller docstring example. * Make check_graphic_caller only accessible from conftest.
…ata (#5854) * pytest migration for unit.common.metadata.test_AncillaryVariableMetadata * use setup fixture * review actions
Convert unit/fileformats/__init__
* Convert tests.unit.plot to PyTest. * Convert tests.unit.quickplot to PyTest.
Convert to Pytest.
Pytests unit fileformats pploadrules
Pytests unit/fileformats/dotpath
Convert unit/fileformats/name_loaders to pytest.
Convert to fileformats/rules to pytest
* Convert test_mapping to PyTest. * Convert integration.plot to PyTest.
…edarrays Convert unit/fileformats/structured_array_identification to pytest.
Convert unit/fileformats/cf to pytest
* pytest migration for unit.common.metadata.test_BaseMetadata * review actions
#5876) * pytest migration of unit.common.metadata.test_metadata_manager_factory * review actions
* Convert root test_util to PyTest. * Convert root test_pp to PyTest. * Review comments - make tests easier to understand.
) * pytest migration of unit.common.metadata.test_CellMeasureMetadata * Update lib/iris/tests/unit/common/metadata/test_CellMeasureMetadata.py Co-authored-by: Patrick Peglar <[email protected]> * Update lib/iris/tests/unit/common/metadata/test_CellMeasureMetadata.py Co-authored-by: Patrick Peglar <[email protected]> * Update lib/iris/tests/unit/common/metadata/test_CellMeasureMetadata.py Co-authored-by: Patrick Peglar <[email protected]> * Update lib/iris/tests/unit/common/metadata/test_CellMeasureMetadata.py Co-authored-by: Patrick Peglar <[email protected]> * review actions --------- Co-authored-by: Patrick Peglar <[email protected]>
* pytest migration of unit.common.metadata.test_CoordMetadata * review actions * Update lib/iris/tests/unit/common/metadata/test_CoordMetadata.py Co-authored-by: Patrick Peglar <[email protected]> --------- Co-authored-by: Patrick Peglar <[email protected]>
* pytest migration of unit.common.resolve.test_Resolve * review actions
Now dead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
benchmark_this
Request that this pull request be benchmarked to check if it introduces performance shifts
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.
For now, just to get a docs build with the pytest style guide from #5785