8000 Testsuites not applied in TestExplorer · Issue #136 · recca0120/vscode-phpunit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Testsuites not applied in TestExplorer #136
Open
@tobiasbhn

Description

@tobiasbhn

Thank you for all the work on this extension.
However, I am having trouble organizing my tests in any way. In the readme of this extension it says "Shows a Test Explorer in the Test view in VS Code's sidebar with all detected tests and suites and their state" - which to me suggests that the tests can be organized in some way into test suites. Despite my definition of different test suites in phpunit.xml, this classification is not reflected in the Test Explorer. Am I missing something?
Another way of organizing the tests using the @group annotation does not seem to work either.
What is the intended way to organize the tests? (besides the file structure)

https://phpunit.readthedocs.io/en/9.5/organizing-tests.html
https://phpunit.readthedocs.io/en/9.5/annotations.html#group

image
defining 'foobar' using the group annotation

image
defining 'foobar' using a testsuite

image
still no tests found in 'foobar' search

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0