diff options
author | drebs <drebs@leap.se> | 2017-06-30 09:04:29 -0300 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-07-07 20:59:51 +0200 |
commit | 305318a6b2a9cbd638c6c48ce447fb228d7fe47d (patch) | |
tree | f31ce5be7312fa592604f51af48b3e59c23acde7 /testing/README | |
parent | ab297c4efe10c70949fac5384a63cbf553ba5da9 (diff) |
[test] mark tests that depend on couchdb server
Diffstat (limited to 'testing/README')
-rw-r--r-- | testing/README | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/README b/testing/README new file mode 100644 index 00000000..94be7250 --- /dev/null +++ b/testing/README @@ -0,0 +1,21 @@ +Soledad Tests +============= + +This folder contains all tests for Soledad client and server. + +Dependency on CouchDB +--------------------- + +Currently, some tests depend on availability of a CouchDB server. You can pass +a custom couchdb url by using the --couch-url option when running tox (or +pytest), like this: + + tox -- --couch-url http://couch_host:5984 + +Tests that depend on couchdb are marked as such with the 'needs_couch' pytest +marker. You can skip them by avoiding tests with that marker: + + tox -- -m 'not needs_couch' + +In the future we want to isolate all tests that need couch as integration +tests, and use mocks everywhere else. |