Skip to content

Commit

Permalink
fixed doclinks
Browse files Browse the repository at this point in the history
  • Loading branch information
ESadek-MO committed Mar 27, 2024
1 parent 744f1c3 commit 37a342f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions docs/src/developers_guide/contributing_testing_index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Testing
contributing_ci_tests
contributing_benchmarks
testing_style_guide
contributing_tests
17 changes: 8 additions & 9 deletions docs/src/developers_guide/contributing_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
Contributing Iris Tests
***********************

.. _developer_test_categories:

.. _developer_pytest_categories:

Test Categories
===============
Expand All @@ -24,7 +23,7 @@ But if in any doubt about what tests to add or how to write them please
feel free to submit a pull-request in any state and ask for assistance.


.. _testing.unit_test:
.. _pytesting.unit_test:

Unit Tests
----------
Expand All @@ -42,7 +41,7 @@ All unit tests must be placed and named according to the following
structure:


.. _testing.classes:
.. _pytesting.classes:

Classes
-------
Expand Down Expand Up @@ -93,7 +92,7 @@ Within that file the tests might look something like:
...
.. _testing.functions:
.. _pytesting.functions:

Functions
---------
Expand Down Expand Up @@ -136,7 +135,7 @@ Within that file the tests might look something like:
...
.. _testing.integration:
.. _pytesting.integration:

Integration Tests
-----------------
Expand All @@ -153,7 +152,7 @@ according to the capabilities under test, e.g.
``metadata/test_pp_preservation.py``, and not named according to the
module(s) under test.

.. _testing_style_guide:
.. _pytesting_style_guide:

PyTest Style Guide
==================
Expand Down Expand Up @@ -224,7 +223,7 @@ Any mocking should be done with ``pytest.mock``, and monkeypatching where suitab
If you think we're missing anything important here, please consider creating an
issue or discussion and share your ideas with the team!

.. _testing_tools:
.. _pytesting_tools:

=============
Testing tools
Expand Down Expand Up @@ -253,7 +252,7 @@ Custom assertions
assertions, such as :meth:`~iris.tests._shared_utils.assert_array_equal`, and
:meth:`~iris.tests._shared_utils.assert_array_almost_equal`.

.. _create-missing:
.. _pycreate-missing:

Saving results
--------------
Expand Down

0 comments on commit 37a342f

Please sign in to comment.