summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-12-06 12:47:01 -0400
committerKali Kaneko <kali@leap.se>2013-12-06 12:47:01 -0400
commit41990181d53faed649fc956ed6e3d0d13600c83e (patch)
treeca722dddcaf31566a07abd1e85236e87e98aa676
parent1d388dda6f85faab7d31a346ae0a5890d575151a (diff)
add entry point for tests
-rw-r--r--README.rst10
-rwxr-xr-xrun_tests.sh3
2 files changed, 5 insertions, 8 deletions
diff --git a/README.rst b/README.rst
index 61a15ee4..fb909120 100644
--- a/README.rst
+++ b/README.rst
@@ -38,14 +38,8 @@ Tests
Client and server tests are both included in leap.soledad.common. If you want
to run tests in development mode you must do the following::
- cd common
- python setup.py develop
- cd ../client
- python setup.py develop
- cd ../server
- python setup.py develop
- cd ../common
- python setup.py test
+ scripts/develop_mode.sh
+ ./run_tests.sh
Note that to run CouchDB tests, be sure you have ``CouchDB`` installed on your
system.
diff --git a/run_tests.sh b/run_tests.sh
new file mode 100755
index 00000000..e36466f8
--- /dev/null
+++ b/run_tests.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd common
+python setup.py test