Skip to content

Commit

Permalink
xunit-plugin-prints-full-path-to-report (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
z00sts authored Jul 24, 2017
1 parent 22d1838 commit 3abeb53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.1

- XUnit plugin now prints full path to created xUnit report

## 0.4.0

- Add plugin Failer that allows to stop test execution after X failures/errors.
Expand Down
3 changes: 2 additions & 1 deletion lode_runner/plugins/xunit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# coding: utf-8

import os
import multiprocessing

from xml.etree import ElementTree
Expand Down Expand Up @@ -68,7 +69,7 @@ def report(self, stream):

if self.config.verbosity > 1:
stream.writeln("-" * 70)
stream.writeln("XML: %s" % self.error_report_filename)
stream.writeln("XML: {}".format(os.path.abspath(self.error_report_filename)))

def beforeTest(self, test):
"""Initializes a timer before starting a test."""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
setup(
name='lode_runner',
url='https://github.com/2gis/lode_runner',
version='0.4.0',
version='0.4.1',
description='Nosetests runner plugins package',
long_description='',
author='Igor Pavlov',
Expand Down

0 comments on commit 3abeb53

Please sign in to comment.