From d599e4d9d440ee146fb864b3ba043c82f31e5f8b Mon Sep 17 00:00:00 2001 From: Richarda Butler <39577672+RikkiButler20@users.noreply.github.com> Date: Fri, 21 Aug 2020 15:42:24 -0700 Subject: Added the file path for running a specific test (#18214) --- lib/spack/docs/contribution_guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/docs/contribution_guide.rst b/lib/spack/docs/contribution_guide.rst index 66f387c1ab..2fc6546f5e 100644 --- a/lib/spack/docs/contribution_guide.rst +++ b/lib/spack/docs/contribution_guide.rst @@ -111,7 +111,7 @@ And this would run the ``test_platform`` test from that file: .. code-block:: console - $ spack test architecture.py::test_platform + $ spack test lib/spack/spack/test/architecture.py::test_platform This allows you to develop iteratively: make a change, test that change, make another change, test that change, etc. We use `pytest -- cgit v1.2.3-70-g09d2