Changeset 1690
- Timestamp:
- 09/20/08 17:08:05 (2 months ago)
- Location:
- pyamf/sandbox/nick
- Files:
-
- 11 added
- 1 modified
-
gae_client.py (modified) (3 diffs)
-
punit (added)
-
punit/app.yaml (added)
-
punit/config.py (added)
-
punit/index.py (added)
-
punit/lib (added)
-
punit/lib/simplejson (added)
-
punit/lib/simplejson/__init__.py (added)
-
punit/lib/simplejson/decoder.py (added)
-
punit/lib/simplejson/encoder.py (added)
-
punit/lib/simplejson/scanner.py (added)
-
punit/runner.py (added)
Legend:
- Unmodified
- Added
- Removed
-
pyamf/sandbox/nick/gae_client.py
r1686 r1690 36 36 37 37 The structure of the app is as follows: 38 - /tests/ - Returns a list of tests to run, in json format. There are 39 three keys, 'tests', 'expected', and 'skipped'. 'tests' are a list of 40 all the tests that should be run to complete the test suite. 'expected' 41 is a list of tests that are expected to fail. This means that test 42 suites that were built with more open environments can pass. 'skipped' 43 means tests that were not meant to run at all on the GAE platform. 44 - /run/{module}/{test_case}/{method} - Runs an individual test. The 38 - / - Returns a list of tests to run, in json format. There are three 39 keys, 'tests', 'expected', and 'skipped'. 40 41 'tests' are a list of all the tests that should be run to complete the 42 test suite. 43 44 'expected' is a list of tests that are expected to fail. This means 45 that test suites that were built with more open environments can pass. 46 47 'skipped' means tests that were not meant to run at all on the GAE 48 platform. 49 - /{module}.{test_case}.{method} - Runs an individual test. The 45 50 response is a json object that contains the following keys: 'test' - 46 51 the fully qualified name of the test, 'skipped' - if C{True} then this … … 80 85 81 86 def get_all_tests(self): 82 ret = simplejson.loads(self._get_url(' tests/'))87 ret = simplejson.loads(self._get_url('')) 83 88 84 89 self.tests = ret[u'tests'] … … 94 99 95 100 return simplejson.loads(self._get_url( 96 str( 'run/' + mod + '/' + tc + '/' + meth + '/')))101 str(mod + '.' + tc + '.' + meth))) 97 102 98 103 def run_test_suite(self, out):
