From fe07c54bc6eca81cb92e81db2add78f30c2d35a7 Mon Sep 17 00:00:00 2001 From: John Tramm Date: Tue, 12 Dec 2023 13:26:18 -0600 Subject: [PATCH] Pytest Update Documentation (#2801) --- docs/source/devguide/tests.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/devguide/tests.rst b/docs/source/devguide/tests.rst index 9a102d2dc2..d8fc53b3ad 100644 --- a/docs/source/devguide/tests.rst +++ b/docs/source/devguide/tests.rst @@ -134,6 +134,12 @@ following files to your new test directory: compiler options during openmc configuration and build (e.g., no MPI, no debug/optimization). +For tests using the Python API, both the **inputs_true.dat** and +**results_true.dat** files can be generated automatically in the correct format +via:: + + pytest --update + In addition to this description, please see the various types of tests that are already included in the test suite to see how to create them. If all is implemented correctly, the new test will automatically be discovered by pytest.