Skip to content

Commit

Permalink
Update Tests section to skeloton
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed May 20, 2020
1 parent f5d80b5 commit 71311a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/developing_tespy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,15 @@ The tests in TESPy are split up in two different parts:
The tests contain code examples that expect a certain
outcome. If the outcome is as expected a test will pass, if the outcome is
different, the test will fail. You can run the tests locally by navigating into
your local github clone:
your local github clone. The command :code:`check` tests PEP guidelines, the
command :code:`py3X` runs the software tests in the selected Python version.

.. code:: bash
python -m pytest ./tespy --doctest-modules ./tests
python -m tox -e check
python -m tox -e py36
python -m tox -e py37
python -m tox -e py38
Additionally, all tests will run automatically when you push changes to a
branch that has a pull request opened.
Expand Down

0 comments on commit 71311a8

Please sign in to comment.