Skip to content

Commit 2697bb7

Browse files
authored
Rework description of --config local tests (#3402)
The previous description of putting --config local tests into /sites/ and /integration/ does not reflect the reality of current Parsl development.
1 parent 92ad7a7 commit 2697bb7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

CONTRIBUTING.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,17 @@ There are two broad groups of tests: those which must run with a
5050
specific configuration, and those which should work with any
5151
configuration.
5252

53-
Tests which run with a specific configuration live under the
54-
``parsl/tests/sites`` and ``parsl/tests/integration`` directories.
55-
They can be launched with a pytest parameter of
56-
``--config local`` and each test file should initialise a DFK
57-
explicitly.
58-
5953
Tests which should run with with any configuration live under
6054
themed directories ``parsl/tests/test*/`` and should be named ``test*.py``.
6155
They can be run with any configuration, by specifying ``--config CONFIGPATH``
6256
where CONFIGPATH is a path to a ``.py`` file exporting a parsl configuration
6357
object named ``config``. The parsl-specific test fixtures will ensure
6458
a suitable DFK is loaded with that configuration for each test.
6559

60+
Tests which require their own specially configured DFK, or no DFK at all,
61+
should be labelled with ``@pytest.mark.local`` and can be run with
62+
``--config local``.
63+
6664
There is more fine-grained enabling and disabling of tests within the
6765
above categories:
6866

0 commit comments

Comments
 (0)