shipmonk-rnd/composer-dependency-analyser

Reusing reports with shortener filenames is hardest

Opened this issue · 2 comments

Even if I may undertand that you reduce file path relatively to current working directory
have in mind that it's difficult to re-used report Junit format on third-party tool context.

Who can be able to retrieve easily file(s) in source tree ?

I propose to add an option in Configuration to define if we want to have absolute or relative path.

WDYT ?

I think we should go with the approach PHPUnit uses. It has both name and file attribute. File is absolute path, name can be whatever (we can keep what we have).

I think we should go with the approach PHPUnit uses. It has both name and file attribute.

That is not possible in our case. PHPUnit uses that on <testsuite name="" file=""> level, but we need that inside <failure> contents