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

Don't check for the phpunit test string to determine whether a file is a test #156

Closed
dawehner opened this issue Jun 20, 2016 · 1 comment

Comments

@dawehner
Copy link

Currently https://github.com/VisualPHPUnit/VisualPHPUnit/blob/master/src/Api/Action/Test.php#L132 has a couple of issues:

  • It doesn't support testbases, of which are there a lot of out there
  • It doesn't execute the bootstrap, so potentially some classes cannot be loaded
@localgod
Copy link
Member

As you are now able to specify the regxp for location test files in the configuration file for VPU you should be able to target any test file you like. Assuming the bootstrap file is located within the test folder in will be loaded automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants