You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2012/11/09 09:21:23 UTC
git commit: Summary: xml reports library changes
Updated Branches:
refs/heads/master ddca80591 -> c290bf6cd
Summary: xml reports library changes
Detail: unittest-xml-reporting 1.4 - the verbose option is available via
settings.py.
Signed-off-by: Prasanna Santhanam <ts...@apache.org> 1352448075 +0530
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/c290bf6c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/c290bf6c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/c290bf6c
Branch: refs/heads/master
Commit: c290bf6cd0f0314b54d57195d7a11aa8bb04b51d
Parents: ddca805
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Fri Nov 9 13:31:15 2012 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Fri Nov 9 13:31:15 2012 +0530
----------------------------------------------------------------------
tools/marvin/marvin/TestCaseExecuteEngine.py | 2 +-
tools/marvin/marvin/settings.py | 28 +++++++++++++++++++++
tools/marvin/setup.py | 2 +-
3 files changed, 30 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c290bf6c/tools/marvin/marvin/TestCaseExecuteEngine.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/TestCaseExecuteEngine.py b/tools/marvin/marvin/TestCaseExecuteEngine.py
index 63e7d0d..06a8d72 100644
--- a/tools/marvin/marvin/TestCaseExecuteEngine.py
+++ b/tools/marvin/marvin/TestCaseExecuteEngine.py
@@ -95,4 +95,4 @@ class TestCaseExecuteEngine(object):
if self.format == "text":
unittest.TextTestRunner(stream=self.testResultLogFile, verbosity=2).run(self.suite)
elif self.format == "xml":
- xmlrunner.XMLTestRunner(output=self.xmlDir, verbose=True).run(self.suite)
+ xmlrunner.XMLTestRunner(output=self.xmlDir).run(self.suite)
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c290bf6c/tools/marvin/marvin/settings.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/settings.py b/tools/marvin/marvin/settings.py
new file mode 100644
index 0000000..30b78ac
--- /dev/null
+++ b/tools/marvin/marvin/settings.py
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Settings for the XML test runner
+
+# Use this setting to choose between a verbose and a non-verbose output.
+TEST_OUTPUT_VERBOSE = 2.
+
+# If your test methods contains docstrings, you can display such docstrings
+# instead of display the test name (ex: module.TestCase.test_method). In order to
+# use this feature, you have to enable verbose output by setting
+# TEST_OUTPUT_VERBOSE = 2.
+
+TEST_OUTPUT_DESCRIPTIONS=True
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c290bf6c/tools/marvin/setup.py
----------------------------------------------------------------------
diff --git a/tools/marvin/setup.py b/tools/marvin/setup.py
index a9621bd..f0de384 100644
--- a/tools/marvin/setup.py
+++ b/tools/marvin/setup.py
@@ -42,6 +42,6 @@ setup(name="Marvin",
"mysql-connector-python",
"paramiko",
"nose",
- "unittest-xml-reporting"
+ "unittest-xml-reporting>1.2"
],
)