mailr4340 - in /1.3/test_suite: runner.py system_tests/__init__.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 05, 2008 - 17:20:
Author: bugman
Date: Sat Jan  5 17:20:36 2008
New Revision: 4340

URL: http://svn.gna.org/viewcvs/relax?rev=4340&view=rev
Log:
Created a class called System_test_runner for executing the system/functional 
tests.

Whether this is replaced by Gary's Unit_test_runner, invokes 
Unit_test_runner, or is independent of
Unit_test_runner is not yet known.


Modified:
    1.3/test_suite/runner.py
    1.3/test_suite/system_tests/__init__.py

Modified: 1.3/test_suite/runner.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/runner.py?rev=4340&r1=4339&r2=4340&view=diff
==============================================================================
--- 1.3/test_suite/runner.py (original)
+++ 1.3/test_suite/runner.py Sat Jan  5 17:20:36 2008
@@ -25,6 +25,7 @@
 
 # Import the test suite categories.
 from system_tests.main import System_tests
+from system_tests import System_test_runner
 from unit_tests.unit_test_runner import Unit_test_runner
 
 # relax module imports.

Modified: 1.3/test_suite/system_tests/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/__init__.py?rev=4340&r1=4339&r2=4340&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/__init__.py (original)
+++ 1.3/test_suite/system_tests/__init__.py Sat Jan  5 17:20:36 2008
@@ -31,3 +31,24 @@
            'relax_fit',
            'run_create',
            'sequence']
+
+
+class System_test_runner:
+    """Class for executing all of the system/functional tests."""
+
+    def __init__(self, relax):
+        """Place the relax namespace into self.relax when instantiating the 
class.
+
+        @param relax:   The relax namespace.
+        @type relax:    instance
+        """
+
+        self.relax = relax
+
+
+    def run(self, runner=None):
+        """Function for running all of the system/functional tests.
+
+        @param runner:  The unit test runner which defaults to 
TextTestRunner.
+        @type runner:   instance
+        """




Related Messages


Powered by MHonArc, Updated Sat Jan 05 17:40:20 2008