Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Test class name causes "Cannot find file containing unit tests" #39

@trickleup

Description

@trickleup

Thanks for a great plugin.

I'm running unit tests with sublime-phpunit for ST3 which mostly works great. The one issue I'm having is with some integration tests that don't correspond to specific class files. I.e. for unit tests I have MyClass and MyClassTest, but then I have a class MyIntegrationTests, but there is no class called MyIntegration (by design, or at least, I'm not in a position to change the structure freely). I'm unable to run these tests from sublime, because the context menu/command palette "Run Tests..." option now says

Cannot find file containing unit tests

The current file in the editor, when right-clicking, is the file with the test cases (i.e. MyIntegrationTests. Is there a workaround, or a way to override this behavior, and just run the tests in the file?

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