Skip to content

Commit

Permalink
Pytest Update Documentation (#2801)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtramm authored Dec 12, 2023
1 parent 3901709 commit fe07c54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/devguide/tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <name-of-test>

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.

0 comments on commit fe07c54

Please sign in to comment.