diff --git a/.gitignore b/.gitignore index d9c86297b..4a9e6e2ad 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ htmlcov .coverage MANIFEST .ipynb_checkpoints +/.eggs/README.txt # Sphinx docs/api diff --git a/docs/index.rst b/docs/index.rst index a440e8b56..c12c4ae72 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -45,6 +45,20 @@ Source Installation cd pyvo python setup.py install +Testing +^^^^^^^ + +.. code-block:: bash + + pip install test-requirements.txt + pytest + +Tests requiring access to the web will be skipped, to run them: + +.. code-block:: bash + + pytest --remote-data + Requirements ------------ * numpy diff --git a/pip-requirements b/pip-requirements index b490a922b..32b8ea93f 100644 --- a/pip-requirements +++ b/pip-requirements @@ -1,3 +1,4 @@ astropy requests mimeparse +pillow diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 000000000..bacb6f861 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,3 @@ +pytest +pytest-remotedata +requests-mock