Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/src/developers_guide/contributing_running_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ A separate repository under the `SciTools`_ organisation is used, see
https://github.com/SciTools/iris-test-data.

In order to run the tests with **all** the test data you must clone the
``iris-test-data`` repository and then configure your shell to ensure the Iris
tests can find it by using the shell environment variable named
**OVERRIDE_TEST_DATA_REPOSITORY**. The example command below uses
``~/projects`` as the parent directory::
``iris-test-data`` repository and then ensure the Iris tests can access
``iris-test-data/test_data``, using one of two methods:

* Store the path in a shell environment variable named **OVERRIDE_TEST_DATA_REPOSITORY**.
* Store the path in ``lib/iris/etc/site.cfg`` (see :mod:`iris.config` for more).

The example command below uses ``~/projects`` as the parent directory::

cd ~/projects
git clone [email protected]:SciTools/iris-test-data.git
Expand Down
3 changes: 3 additions & 0 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ This document explains the changes made to Iris for this release
:class:`iris.Constraint` to :ref:`userguide loading section
<constrained-loading>` and to api reference documentation. (:pull:`4321`)

#. `@trexfeathers`_ added more detail on making `iris-test-data`_ available
during :ref:`developer_running_tests`. (:pull:`4359`)


💼 Internal
===========
Expand Down
2 changes: 1 addition & 1 deletion lib/iris/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

The default configuration values can be overridden by creating the file
``iris/etc/site.cfg``. If it exists, this file must conform to the format
defined by :mod:`ConfigParser`.
defined by :mod:`configparser`.

----------

Expand Down