Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluded failing tests show as passed when all tests are run #61

Open
sfsccn opened this issue May 26, 2020 · 0 comments
Open

Excluded failing tests show as passed when all tests are run #61

sfsccn opened this issue May 26, 2020 · 0 comments

Comments

@sfsccn
Copy link

sfsccn commented May 26, 2020

If I exclude a group in phpunit.xml as shown below, tests tagged with this group are marked as passed in the test explorer when I click the "Run all tests" button ("play" icon), including tests that are supposed to fail. If I run such tests individually, they correctly show as failed. If the groups section is removed from phpunit.xml then "Run all" correctly shows those tests as failing, so the extension appears to be using phpunit.xml.

    <groups>
        <exclude>
            <group>fails</group>
        </exclude>
    </groups> 
  • Extension verison: 2.0.72
  • VS Code: 1.45.1
  • PHPUnit: 9.1.4
  • OS: Ubuntu Server 20.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant