junit output 'testsuite name' includes the full path of the test folder except on the first one #913
Labels
Component: Bash Code
Everything regarding the bash code
Priority: Medium
Wrong or misleading documentation, broken behavior with workaround
Size: Medium
Changes in the same file
Status: Unconfirmend
No reproducer was provided or the reproducer did not work for maintainers.
Type: Bug
Describe the bug
When running
bats --report-formatter junit ...
with a couple of folders, the xml generated includes the full path of the tests except on the first one.To Reproduce
Steps to reproduce the behavior:
file.bats
with following contentssrc/project.sh
file and make it executable (chmod a+x)bats --report-formatter junit -T foobar foobar-second
The xml file being generated looks like:
As you can see the
testsuite name
should be either the whole path or just the file but not mixed.Expected behavior
I think only the filename should be present on the testsuite name property.
Environment
bash --version
: 4.4.23(1)-releaseAdditional context
The text was updated successfully, but these errors were encountered: