From cfff46ff9becdbe5cf48816870e625ed253ecc57 Mon Sep 17 00:00:00 2001 From: drebs Date: Sun, 17 Sep 2017 12:08:25 -0300 Subject: [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 --- docs/benchmarks.rst | 1 - docs/tests.rst | 3 --- 2 files changed, 4 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3