Revision: 103
Author: janne.t.harkonen
Date: Sun Nov 7 23:41:51 2010
Log: Created wiki page through web user interface.
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=103
Added:
/wiki/RunningLibraryAcceptanceTests.wiki
=======================================
--- /dev/null
+++ /wiki/RunningLibraryAcceptanceTests.wiki Sun Nov 7 23:41:51 2010
@@ -0,0 +1,23 @@
+#summary How to setup environment and run SSHLibrary's own acceptance
tests.
+
+== Setup ==
+
+These instructions apply for Linux (maybe OSX)
+
+ * Install `openSSH` server
+ * Create user `test` with password `test`
+ * Create user `testkey` and
+ * login as `testkey`
+ * `ssh-keygen -t rsa` (Input empty password)
+ * `cp ~/.ssh/id_rsa ~/.ssh/authorized_keys2`
+ * Copy the id_rsa of `testkey` user also to `atest/resources/keyfiles`
+
+The tests should now be able to run.
+
+== Running tests ==
+
+There's a shell script `atest/run_test.sh` which runs all the tests, both
with Python and Jython. The script accepts normal Robot Framework command
line options, so suites and tests can be filtered, ie.
+{{{
+atest/run_tests.sh # Run all tetst
+atest/run_tests.sh --suite *public* # Run the public key test suite
+}}}