summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-03-26 01:10:52 +0900
committerkali <kali@leap.se>2013-03-26 01:10:52 +0900
commit02207cf5ea91cc6ad3185c1df6c42f7e92bf4521 (patch)
treea12de60e73eb58eb2d5a19a886df943ad4332a2b /pkg
parent344abd42c6b480a783ee05b6e92532a1113a86d2 (diff)
Add testing infrastructure to the project (again).
With new additions for nose: nose-progressive
Diffstat (limited to 'pkg')
-rw-r--r--pkg/requirements-testing.pip13
-rwxr-xr-xpkg/tools/with_venv.sh4
2 files changed, 17 insertions, 0 deletions
diff --git a/pkg/requirements-testing.pip b/pkg/requirements-testing.pip
new file mode 100644
index 00000000..bfa20544
--- /dev/null
+++ b/pkg/requirements-testing.pip
@@ -0,0 +1,13 @@
+nose
+nose-exclude
+nose-progressive
+mock
+unittest2 # TODO we should include this dep only for python2.6
+coverage
+pep8==1.1
+
+#sphinx>=1.1.2
+#tox
+
+twisted
+zope.interface
diff --git a/pkg/tools/with_venv.sh b/pkg/tools/with_venv.sh
new file mode 100755
index 00000000..0e58f1ab
--- /dev/null
+++ b/pkg/tools/with_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+TOOLS=`dirname $0`
+VENV=$TOOLS/../../.venv
+source $VENV/bin/activate && $@