Skip to content

Commit

Permalink
Removing integration tests section
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed Dec 9, 2024
1 parent a3bf61b commit 76cb061
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions docs/contributing/development/running_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,36 +73,4 @@ You can generate Plasma Reference by the following command:
.. code-block:: shell
> pytest -rs tardis/plasma/tests/test_complete_plasmas.py
--tardis-regression-data="/path/to/tardis-regression-data/" --generate-reference
Running the Integration Tests
=============================

These tests require reference files against which the results of the various
tardis runs are tested. So you first need to either download the current
reference files (`here <https://github.com/tardis-sn/tardis-refdata>`_)
or generate new ones.

Both of these require a configuration file for the integration tests:

.. literalinclude:: integration.yml
:language: yaml

Inside the atomic data directory there needs to be atomic data for each of
the setups that are provided in the ``test_integration`` folder.
If no references are given, the first step is to generate them.
The ``--less-packets`` option is useful for debugging purposes and will just
use very few packets to generate the references and thus make the process much
faster --- THIS IS ONLY FOR DEBUGGING PURPOSES. The ``-s`` option ensures that
TARDIS prints out the progress:

.. code-block:: shell
> pytest --integration=integration.yml -m integration --generate-reference --less-packets
To run the test after having run the ``--generate-references``, all that is
needed is:

.. code-block:: shell
> pytest --integration=integration.yml -m integration --less-packets --remote-data
--tardis-regression-data="/path/to/tardis-regression-data/" --generate-reference

0 comments on commit 76cb061

Please sign in to comment.