diff options
Diffstat (limited to 'xtesting/core/behaveframework.py')
-rw-r--r-- | xtesting/core/behaveframework.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xtesting/core/behaveframework.py b/xtesting/core/behaveframework.py index 2b41614c..dacda27d 100644 --- a/xtesting/core/behaveframework.py +++ b/xtesting/core/behaveframework.py @@ -97,6 +97,8 @@ class BehaveFramework(testcase.TestCase): html_file = os.path.join(self.res_dir, 'output.html') config += ['--format=behave_html_formatter:HTMLFormatter', '--outfile={}'.format(html_file)] + if kwargs.get("console", False): + config += ['--format=pretty', '--outfile=-'] for feature in suites: config.append(feature) self.start_time = time.time() |