From 7cc2392611cccb48100cafc1b4ec5fdf03855b3d Mon Sep 17 00:00:00 2001 From: Alistair Coles Date: Tue, 26 Jul 2016 18:12:26 +0100 Subject: [PATCH] Document how to run a single functional test Change-Id: Icabc5a8316f5e8fd887bb42358ad03e9c43d0765 --- doc/source/development_guidelines.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/development_guidelines.rst b/doc/source/development_guidelines.rst index 6f0012c35f..2e9a6e2f23 100644 --- a/doc/source/development_guidelines.rst +++ b/doc/source/development_guidelines.rst @@ -90,6 +90,11 @@ For example, this command would run the functional tests using policy SWIFT_TEST_POLICY=silver tox -e func +To run a single functional test, use the ``--no-discover`` option together with +a path to a specific test method, for example:: + + tox -e func -- --no-discover test.functional.tests.TestFile.testCopy + In-process functional testing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~