Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Report path cant be defined #24

Open
kronar opened this Issue · 3 comments

3 participants

@kronar

ReportNG renders report into "html" directory by default (fo HTMLReporter) but there is no ability to override it.

@dwdyer
Owner

Yes, this is hard-coded at present (I'm surprised nobody has complained until now). The "html" directory and the corresponding "xml" directory for the JUnit XML were intended to keep the two reports separate.

I could add properties (e.g. org.uncommons.reportng.xml-dir and org.uncommons.reportng.html-dir) to specify the directories for each of the reports. Or if you have a better suggestion, let me know.

@kronar

Please add properties. I think it should be enough.

@wormyourhonor

+1 - A use case, as a drop-in replacement for TestNG reports, continue to use existing code that puts references to an attachment in Reporter.log(). In this case, the references are not absolute paths.

Agreed that ability to specify a property, e.g. org.uncommons.reportng.html-dir, would be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.