From 40d11abd1b3cc28d9736beabfb333125745ac07b Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Wed, 18 Sep 2024 05:31:46 -0700 Subject: [PATCH] Docs: how to use `add_subdirectory` for new tests (#5279) --- Docs/source/developers/testing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Docs/source/developers/testing.rst b/Docs/source/developers/testing.rst index 5bbc7d0fef4..ee5c82aeea9 100644 --- a/Docs/source/developers/testing.rst +++ b/Docs/source/developers/testing.rst @@ -175,6 +175,8 @@ If you need a new Python package dependency for testing, please add it in `Regre Sometimes two or more tests share a large number of input parameters. The shared input parameters can be collected in a "base" input file that can be passed as a runtime parameter in the actual test input files through the parameter ``FILE``. +If the new test is added in a new directory that did not exist before, please add the name of that directory with the command ``add_subdirectory`` in `Physics_applications/CMakeLists.txt `__ or `Tests/CMakeLists.txt `__, depending on where the new test directory is located. + Naming conventions for automated tests --------------------------------------