mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Pytest Update Documentation (#2801)
This commit is contained in:
parent
3901709141
commit
fe07c54bc6
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue