-
Notifications
You must be signed in to change notification settings - Fork 195
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
issue during code coverage when referencing $this->uri in a view #412
Comments
I believe this is a PHPUnit specification. |
$this->uri is part of CI. I haven't found any reference to a variable named uri in phpunit. |
No, no. The |
I'm not sure I understand. Anyway it doesn't fail with earlier versions of your tool and afaik it is totally valid to use $this->some_var_from_controller inside a PHP file of the application/view. |
Are you using the same version of PHPUnit? Anyway, ci-phpunit-test does nothing to PHPUnit CodeCoverage. If you think it is a bug, please report to PHPUnit. |
While running codecoverage, there is a failure on this line of a *.php file in applications/view/
Line on which it fails:
Command:
vendor/bin/phpunit --coverage-text -c application/tests
Output:
There is no such issue with ci-phpunit-test 2.x or 1.x.
package versions installed by composer.
The text was updated successfully, but these errors were encountered: