We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Total shows 200%. If this is intentional I'm not understanding it :)
If one of the classes is not complety covered it shows 1/2 100% so I'm fairly sure thats a bug :)
1/2 100%
cat Trait.php
<?php class TraitUser { use MyTrait; } trait MyTrait { public function foo() { return 1; } }
cat TraitTest.php
<?php require __DIR__ . '/Trait.php'; class TraitTest extends PHPUnit_Framework_TestCase { public function testTrait() { $x = new TraitUser(); $this->assertSame(1, $x->foo()); } }
Running:
phpunit --coverage-html foo TraitTest.php && firefox foo/index.html
The text was updated successfully, but these errors were encountered:
08fe377
No branches or pull requests
Total shows 200%. If this is intentional I'm not understanding it :)
If one of the classes is not complety covered it shows
1/2 100%
so I'm fairly sure thats a bug :)cat Trait.php
cat TraitTest.php
Running:
The text was updated successfully, but these errors were encountered: