Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Fix issue with dusk configs #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LukeTowers
Copy link

This fixes an issue that occurs with phpunit.dusk.xml files that have test suite paths defined in a "formatted" style.

Previously the following would break:

<testsuites>
    <testsuite name="Browser Test Suite">
        <directory suffix="Test.php">
            ./tests/Browser
        </directory>
    </testsuite>
</testsuites>

And it would require the following change:

<testsuites>
    <testsuite name="Browser Test Suite">
        <directory suffix="Test.php">./tests/Browser</directory>
    </testsuite>
</testsuites>

This fixes an issue that occurs with phpunit.dusk.xml files that have test suite paths defined in a "formatted" style.

Previously the following would break:

```xml
<testsuites>
    <testsuite name="Browser Test Suite">
        <directory suffix="Test.php">
            ./tests/Browser
        </directory>
    </testsuite>
</testsuites>
```
And it would require the following change:
```xml
<testsuites>
    <testsuite name="Browser Test Suite">
        <directory suffix="Test.php">./tests/Browser</directory>
    </testsuite>
</testsuites>
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant