Skip to content

PHP Unit Tests are all marked Incomplete #10

Description

@phil-davis

"dummy" tests were auto-generated when this PHP libre-graph-api was itself auto-generated.
The "dummy" tests are all marked as incomplete, code like:

// TODO: implement
$this->markTestIncomplete('Not implemented');

And that results in a "useless" unit test run that reports:

PHPUnit 9.6.34 by Sebastian Bergmann and contributors.

IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII  63 / 525 ( 12%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 126 / 525 ( 24%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 189 / 525 ( 36%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 252 / 525 ( 48%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 315 / 525 ( 60%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 378 / 525 ( 72%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 441 / 525 ( 84%)
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 504 / 525 ( 96%)
IIIIIIIIIIIIIIIIIIIII                                           525 / 525 (100%)

Time: 00:00.025, Memory: 18.00 MB

OK, but incomplete, skipped, or risky tests!
Tests: 525, Assertions: 0, Incomplete: 525.

Do we add real test code?
Is there an automated bot that can do 90% of that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions