diff --git a/tools/marvin/marvin/TestCaseExecuteEngine.py b/tools/marvin/marvin/TestCaseExecuteEngine.py index 63e7d0de6aa..06a8d72a00d 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) diff --git a/tools/marvin/marvin/settings.py b/tools/marvin/marvin/settings.py new file mode 100644 index 00000000000..30b78ac1522 --- /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 diff --git a/tools/marvin/setup.py b/tools/marvin/setup.py index a9621bdae2e..f0de384bfea 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" ], )