summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-27 23:16:05 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-27 23:16:05 +0100
commit33344bf341ed1416f22122a704b9e8c0360d52e9 (patch)
treeb4840802e63731e98089bd9f8edce0e6e5971016
parent2a78370ea84447e486079080eaa7901979d572bc (diff)
downloadpykolab-33344bf341ed1416f22122a704b9e8c0360d52e9.tar.gz
Add a README.testsdev/kolab-test-suite
-rw-r--r--Makefile.am5
-rw-r--r--README.tests44
2 files changed, 47 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a0b4e39..c718091 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,12 +9,13 @@ EXTRA_DIST = \
COPYING \
INSTALL \
NEWS \
- README
+ README \
+ README.tests
execdir = $(sbindir)
install-exec-local:
mkdir -p $(DESTDIR)/$(sbindir) $(DISTDIR)/$(bindir)
- $(INSTALL) -p 755 pykolab.py $(DESTDIR)/$(sbindir)
+ $(INSTALL) -p -m 755 pykolab.py $(DESTDIR)/$(sbindir)/pykolab
pushd $(DESTDIR)$(bindir);$(LN_S) consolehelper pykolab;popd
diff --git a/README.tests b/README.tests
new file mode 100644
index 0000000..222880c
--- /dev/null
+++ b/README.tests
@@ -0,0 +1,44 @@
+== /!\ Test Execution /!\ ==
+
+Do NOT execute the tests against a production environment.
+
+In case you've missed the previous statement;
+
+Do NOT execute the tests against a production environment.
+
+== To Execute Tests ==
+
+A configuration section [testing] can be added to /etc/kolab/kolab.conf, which
+may contain the following key/value pairs:
+
+ admin_login = "string"
+
+ Set this to the login name of a (global, cross-domain) Cyrus IMAP manager.
+
+ admin_password = "string"
+
+ This would be... the password for the aforementioned login.
+
+ server = "hostname-or-ip-address"
+
+ A server we can execute the testing against.
+
+ users = [ ]
+
+ A list of dictionaries, each dictionary representing one user with the
+ following attributes:
+
+ givenname
+ sn
+ domain
+ password
+
+ All tests assume %(givenname)s@%(domain)s as the email address corresponding
+ to the user.
+
+ Don't forget that using different domains for the users implies you have set
+ up the Kolab server accordingly.
+
+Now that you have this information, the following might just start testing;
+
+ python ./kolabtest.py --debug 9 --conf /path/to/conf --suite zpush --use-imap \ No newline at end of file