diff options
author | drebs <drebs@riseup.net> | 2017-09-17 12:08:25 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-09-17 15:50:55 -0300 |
commit | cfff46ff9becdbe5cf48816870e625ed253ecc57 (patch) | |
tree | 8d239e4499f559d86ed17ea3632008303b25d485 /docs | |
parent | f29abe28bd778838626d12fcabe3980a8ce4fa8c (diff) |
[refactor] move tests to root of repository
Tests entrypoint was in a testing/ subfolder in the root of the
repository. This was made mainly because we had some common files for
tests and we didn't want to ship them (files in testing/test_soledad,
which is itself a python package. This sometimes causes errors when
loading tests (it seems setuptools is confused with having one python
package in a subdirectory of another).
This commit moves the tests entrypoint to the root of the repository.
Closes: #8952
Diffstat (limited to 'docs')
-rw-r--r-- | docs/benchmarks.rst | 1 | ||||
-rw-r--r-- | docs/tests.rst | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/docs/benchmarks.rst b/docs/benchmarks.rst index 5338fdee..25e39ae7 100644 --- a/docs/benchmarks.rst +++ b/docs/benchmarks.rst @@ -9,7 +9,6 @@ to write tests to assess the time and resources taken by various tasks. To run benchmark tests, once inside a cloned Soledad repository, do the following:: - cd testing/ tox -e benchmark Results of automated benchmarking for each commit in the repository can be seen diff --git a/docs/tests.rst b/docs/tests.rst index 8a412701..72e2d087 100644 --- a/docs/tests.rst +++ b/docs/tests.rst @@ -11,7 +11,6 @@ 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:: - cd testing tox CouchDB dependency @@ -20,13 +19,11 @@ CouchDB dependency In case you want to use a couchdb on another host or port, use the `--couch-url` parameter for `pytest`:: - cd testing tox -- --couch-url=http://couch_host:5984 If you want to exclude all tests that depend on couchdb, deselect tests marked with `needs_couch`:: - cd testing tox -- -m 'not needs_couch' Benchmark tests |