Skip to content

Commit

Permalink
Merge pull request #64 from bsipocz/DOC_marker_only_run
Browse files Browse the repository at this point in the history
DOC: Mention how to run only the remote_data tests
  • Loading branch information
bsipocz authored Nov 9, 2022
2 parents d2c4ba1 + 6cb85c2 commit 319a61b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ receive remote data from Astropy data sources to be run. Tests with any other
data sources will be skipped. This is indicated in the test code by marking
test functions with ``@pytest.mark.remote_data(source='astropy')``.

Running only the tests marked as ``remote_data``, use the built-in pytest
machinery, e.g., ``pytest -m remote_data --remote-data``.

In the future, we intend to support a configurable way to indicate specific
remote data sources in addition to ``astropy``.

Expand Down

0 comments on commit 319a61b

Please sign in to comment.