Skip to content

Remove leading path from test suite output results #253

@smalers

Description

@smalers

The output from the test suites shows the full path to the command file. The problem is that if tests are run on one computer and then another, the leading part of the path might be different due to files being on a different drive, different user, etc. Consequently, using Kdiff3 on the output file shows every line being different. Although this is not an issue if the test suite is run on the same computer, it is an issue of one test summary file is copied from one file to another.

I previously added an option to not include the test number in the output because it could result in many differences if the sequence changed. This would be a similar change. The full output file with number and full path could still be the .txt file and the .nonum.txt could be the trimmed version.

Perhaps have a parameter to indicate how many parent folders should be kept in the output. Then use this to trim off the leading part of the path. There is potential that someone could be confused by not seeing the full path to single test command file, but typically a developer would not be confused.

Metadata

Metadata

Assignees

Labels

SSize: day or lessenhancementhighPriority: next release if possible

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions