How to change the HTML reports directory?

Asked by David on 2013-03-05

By default HTML test reports end up in ./results/. How can I change this behavior? I would imagine a parameter to sst-run/sst-remote might be suitable, but I found no such thing in the documentation. Is there some way to do this that I have missed?

Question information

Language:
English Edit question
Status:
Solved
For:
selenium-simple-test Edit question
Assignee:
No assignee Edit question
Solved by:
David
Solved:
2013-03-07
Last query:
2013-03-07
Last reply:
Corey Goldberg (coreygoldberg) said : #1

agreed this could be a nice config option. feel free to enter a bug or submit a patch.

results_directory is currently parameterized throughout the codebase, but hard-coded to "results/" in runtests.py. this is where *all* results are stored (html, xml, pagesource-dumps, screenshots, etc). the results also get overwritten each run. It might be nice if a copy of each run's results/ directory was timestamped/saved. In practice, I don't use the HTML reports, as I either consume xml output (to view via Jenkins web ui), or use console output. I also rely on my CI system for viewing detailed reports and archiving.

regards,
-Corey

David (dfh) said : #2

thank you for your reply corey! i might submit a patch if time allows.