File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -50,19 +50,17 @@ There are two broad groups of tests: those which must run with a
5050specific configuration, and those which should work with any
5151configuration.
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-
5953Tests which should run with with any configuration live under
6054themed directories ``parsl/tests/test*/ `` and should be named ``test*.py ``.
6155They can be run with any configuration, by specifying ``--config CONFIGPATH ``
6256where CONFIGPATH is a path to a ``.py `` file exporting a parsl configuration
6357object named ``config ``. The parsl-specific test fixtures will ensure
6458a 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+
6664There is more fine-grained enabling and disabling of tests within the
6765above categories:
6866
You can’t perform that action at this time.
0 commit comments