From 29826a10a86f840b6c9feb248142debc67cc7df8 Mon Sep 17 00:00:00 2001 From: Gerd Flaig Date: Sat, 27 Feb 2010 18:42:07 +0100 Subject: [PATCH] Simple selenium testrunner + a test case --- run.lisp | 5 + runtest.sh | 5 + static/root.html | 4 +- test/.gitignore | 1 + test/run.sh | 11 + test/runtests.py | 42 + test/selenium-test1 | 67 ++ test/selenium-tests | 14 + test/selenium.py | 2071 +++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 2218 insertions(+), 2 deletions(-) create mode 100755 run.lisp create mode 100755 runtest.sh create mode 100755 test/run.sh create mode 100644 test/runtests.py create mode 100644 test/selenium-test1 create mode 100644 test/selenium-tests create mode 100644 test/selenium.py diff --git a/run.lisp b/run.lisp new file mode 100755 index 0000000..e8572a5 --- /dev/null +++ b/run.lisp @@ -0,0 +1,5 @@ +#! /usr/bin/env sbcl --script + +(require 'asdf) +(load "setup.lisp") +(sb-ext:run-program "./runtest.sh" nil :input t :output t) diff --git a/runtest.sh b/runtest.sh new file mode 100755 index 0000000..2b1b597 --- /dev/null +++ b/runtest.sh @@ -0,0 +1,5 @@ +#! /bin/sh + +cd test +./setup.sh +./run.sh diff --git a/static/root.html b/static/root.html index 1a1443e..8a795da 100644 --- a/static/root.html +++ b/static/root.html @@ -2,7 +2,7 @@ Empire Web Client - +