owncloud / owncloud/libre-graph-api-php
PHP Unit Tests are all marked Incomplete
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
"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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names generated PHP unit tests and PHPUnit 9.6.34, but no source or test files. Start by locating the 525 tests containing markTestIncomplete('Not implemented') and determine which generated API areas need real coverage; done means the suite has meaningful assertions rather than 525 incomplete tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100