SKoneru
12 years agoContributor
Generated log file name suppress special character -
HI,
In my build file, I specified the configuration option <exportAll>true</exportAll>, I noticed the files are being generated.
The generated file name follows the convention as testsuiteName-testcaseName-testStepName-{num}-{status}.txt
But when I created testsuite name or testcase name or testStep name with "-" in it then this is suppressed in the generated filename.
For example:- The test step name is named as "orderplacement-buy" the generated file name is displayed as "ts1-tc1-orderplacementbuy-0-OK.txt".
But it would be nice if we preserve the name that I provided and generate as "ts1-tc1-orderplacement-buy-0-OK.txt".
I am requesting this because in my custom JunitReport collector I am displaying the file as a link and noticed that it doesn't work because "-" is suppressed.
In my build file, I specified the configuration option <exportAll>true</exportAll>, I noticed the files are being generated.
The generated file name follows the convention as testsuiteName-testcaseName-testStepName-{num}-{status}.txt
But when I created testsuite name or testcase name or testStep name with "-" in it then this is suppressed in the generated filename.
For example:- The test step name is named as "orderplacement-buy" the generated file name is displayed as "ts1-tc1-orderplacementbuy-0-OK.txt".
But it would be nice if we preserve the name that I provided and generate as "ts1-tc1-orderplacement-buy-0-OK.txt".
I am requesting this because in my custom JunitReport collector I am displaying the file as a link and noticed that it doesn't work because "-" is suppressed.