diff --git a/README.md b/README.md index 3a188090cc7da41db610d11b9f7b6741bc64a3cc..d5641554f251a85f3d89da4d6bfc2b1f76ebfc44 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,22 @@ CaosDB project. - If you want to run just a single test, you can also select a single test file: `pytest-3 tests/test_issues.py` +## Requirements ## + +- Running the tests needs `pytest`, obviously, and also the `nose` library: + - `pip3 install pytest nose` + ## 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"`. +* The remote caosdb server must have a TLS certificate which maches the name given in + `pycaosdb.ini`. If you use the *LinkAhead* distribution of CaosDB, this can be achieved by: + * `linkahead cert_gen -- --hostname <your hostname>` + * `linkahead certs -d <your profile path>/custom/other/cert` + * `linkahead start` # Further Reading