Skip to content
Snippets Groups Projects
Verified Commit 3cf5a613 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

update README for running tests against remote server

parent 6936072a
Branches
Tags
1 merge request!2Readme remote server
...@@ -15,6 +15,13 @@ CaosDB project. ...@@ -15,6 +15,13 @@ CaosDB project.
- If you want to run just a single test, you can also select a single test file: - If you want to run just a single test, you can also select a single test file:
`pytest-3 tests/test_issues.py` `pytest-3 tests/test_issues.py`
## Run tests agains a remote caosdb server
* There is a special mark `local_server`, which marks all test which cannot
pass when the server is not on the host where the test suite is running.
* Start tests with `pytest -m "not local_server"` or
`tox -- -m "not local_server"`.
# Further Reading # Further Reading
Please refer to the [official gitlab repository of the CaosDB Please refer to the [official gitlab repository of the CaosDB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment