From c007356a7884b5690742683cac1e5b78f191456b Mon Sep 17 00:00:00 2001 From: Tim Simpson Date: Fri, 16 Nov 2012 11:50:34 -0600 Subject: Adding tests to Reddwarf. The tests come from the Reddwarf Integration repository. wsgi_intercept is used to allow the test code to hit the server code directly. It also properly sets up the SqlLite database before each run. * Adds an "event simulator" which queues up functions that would normally be spawned with eventlet. The various sleep functions are then swapped with a method that runs these faux-events. * Adds many of the Reddwarf Integration tests. The idea is these could still run in a richer, real environment, but are running here enables us to quickly check feature breaks for each commit and lowers the learning curve necessary to test the API. The downside is some of these tests still have artifacts of their origins, such as (unused) classes to connect to MySQL databases. Some more work will be necessary to separate the "real mode" functionality of these tests further. Implements: blueprint tox-tests Change-Id: I9857f265c1cb46832906ef5e6a0c7bb4a092e637 --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 93301144..91ab7361 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ covhtml/ host-syslog.log tags .tox +rdtest.log -- cgit v1.2.1