• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

infection / codeception-adapter / 20799839989

07 Jan 2026 11:24PM UTC coverage: 89.474%. Remained the same
20799839989

push

github

web-flow
fix: Make the JUnit path relative to the tmp directory (#54)

It appears that unlike the regular XML coverage, Codeception respects
the absolute path for the JUnit report, i.e.:

```
codecept run --xml=$(pwd)/new-dir/junit.xml
```

will work so long `$(pwd)/new-dir` does exist (if it doesn't it will
fail).

`$tmpDir` is created ahead of time and is used at the output, so while
we currently do:

```
codecept run --xml=/path/to/tmp/junit.xml -o "paths: output: /path/to/tmp"
```

Since the `-o "paths: output: /path/to/tmp"` is already necessary for
the coverage XML, we can simplify the command to:

```
codecept run --xml=junit.xml -o "paths: output: /path/to/tmp"
```

This will help (a tiny bit) to make the command less big and remove the
confusion as to why we use an absolute path in one case and not in the
other.

1 of 1 new or added line in 1 file covered. (100.0%)

19 existing lines in 1 file now uncovered.

204 of 228 relevant lines covered (89.47%)

63.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.9
/src/CodeceptionAdapter.php


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc