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

Incomplete and @todo annotated tests are counted twice #1468

Closed
sebastianbergmann opened this issue Oct 15, 2014 · 0 comments
Closed

Incomplete and @todo annotated tests are counted twice #1468

sebastianbergmann opened this issue Oct 15, 2014 · 0 comments
Labels
type/bug Something is broken

Comments

@sebastianbergmann
Copy link
Owner

<?php
class Test extends PHPUnit_Framework_TestCase
{
    /**
     * @todo Implement this test
     */
    public function testOne()
    {
        $this->markTestIncomplete();
    }
}
$ phpunit --disallow-todo-tests Test
PHPUnit 4.3.1 by Sebastian Bergmann.

RI

Time: 53 ms, Memory: 4.00Mb

OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 0, Incomplete: 1, Risky: 1.
@sebastianbergmann sebastianbergmann added the type/bug Something is broken label Oct 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant