Summary: xml reports library changes

Detail: unittest-xml-reporting 1.4 - the verbose option is available via
settings.py.

Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1352448075 +0530
This commit is contained in:
Prasanna Santhanam 2012-11-09 13:31:15 +05:30
parent ddca805912
commit c290bf6cd0
3 changed files with 30 additions and 2 deletions

View File

@ -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)

View File

@ -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

View File

@ -42,6 +42,6 @@ setup(name="Marvin",
"mysql-connector-python",
"paramiko",
"nose",
"unittest-xml-reporting"
"unittest-xml-reporting>1.2"
],
)