Skip to content

Commit

Permalink
Merge pull request #785 from vg3095/doc_tests
Browse files Browse the repository at this point in the history
[DOC] Update Running tests doc
  • Loading branch information
wkerzendorf authored Aug 28, 2017
2 parents f43076f + 7b9ef81 commit e39bf87
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/running_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,23 @@ tests you can run this with:
> python setup.py test
Running the more advanced unit tests it requires atomic data that can be
Running the more advanced unit tests requires Tardis Reference data that can be
downloaded
(`atom_data <http://opensupernova.org/files/atomic/kurucz_cd23_chianti_H_He.h5.zip>`_).
(`tardis_refdata <https://github.com/tardis-sn/tardis-refdata>`_).

.. code-block:: shell
> python setup.py test --args="--atomic-dataset=kurucz_cd23_chianti_H_He.h5"
> python setup.py test --args="--tardis-refdata=/path/to/tardis-refdata/"
Generating Plasma Reference
===========================

You can generate Plasma Reference by the following command

.. code-block:: shell
> pytest -rs tardis/plasma/tests/test_complete_plasmas.py
--tardis-refdata="/path/to/tardis-refdata/" --generate-reference
Running the integration tests
=============================
Expand Down

0 comments on commit e39bf87

Please sign in to comment.