lukejpreston / junit_viewer

Start a mini service to view junit reports
39 stars 17 forks source link

Added posibility to use date token in saved HTML file name #16

Closed szikszail closed 8 years ago

szikszail commented 8 years ago

I have created this modification to support saving converted HTML file with the current date. I.e:

$> junit-viewer --results=test-results --save=test_results_$[date].html

will create test_results_2015-11-09.html file. The string, date can be replaced with valid date-format strings. It uses date-format plugin.

szikszail commented 8 years ago

@lukejpreston could you review this pull-request? I think this improvement is a good idea for the cases when saved html file name cannot be generated.

lukejpreston commented 8 years ago

could you update the readme as well

szikszail commented 8 years ago

Updated.