diff options
author | drebs <drebs@riseup.net> | 2017-09-28 14:47:04 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-09-28 14:48:07 -0300 |
commit | 672a6d4e62376a834378aa70c91ab8612b15094c (patch) | |
tree | 6dd760167814b9b5a90add413a2e34a76a096c04 /docs/tests.rst | |
parent | fba9c274f21e593a3d041949d873435abe922dc9 (diff) |
[doc] move development docs to a subdir
Diffstat (limited to 'docs/tests.rst')
-rw-r--r-- | docs/tests.rst | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/tests.rst b/docs/tests.rst deleted file mode 100644 index 72e2d087..00000000 --- a/docs/tests.rst +++ /dev/null @@ -1,33 +0,0 @@ -.. _tests: - -Tests -===== - -We use `pytest <https://docs.pytest.org/en/latest/>`_ as a testing framework -and `Tox <https://tox.readthedocs.io>`_ as a test environment manager. -Currently, tests reside in the `testing/` folder and some of them need a -couchdb server to be run against. - -If you do have a couchdb server running on localhost on default port, the -following command should be enough to run tests:: - - tox - -CouchDB dependency ------------------- - -In case you want to use a couchdb on another host or port, use the -`--couch-url` parameter for `pytest`:: - - tox -- --couch-url=http://couch_host:5984 - -If you want to exclude all tests that depend on couchdb, deselect tests marked -with `needs_couch`:: - - tox -- -m 'not needs_couch' - -Benchmark tests ---------------- - -A set of benchmark tests is provided to measure the time and resources taken to -perform some actions. See the :ref:`documentation for benchmarks <benchmarks>`. |