summaryrefslogtreecommitdiff
path: root/testing/README
blob: 94be725083a20cd83418d27edcf4a3d5cdee7160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.