Re: PHP test coverage
| From: | Vinicius Dias | Date: | Fri, 08 Dec 2023 16:04:09 +0000 |
| Subject: | Re: PHP test coverage | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121963@lists.php.net to get a copy of this message | ||
> The code coverage report can be found at
> https://app.codecov.io/github/php/php-src
Ah, perfect. Thank you for sharing. I will take a closer look after
work, but something seems weird to me. Here[1] you see that
ctype_alpha seems to be uncovered, but here[2] we can see that it's
tested.
[1]: https://app.codecov.io/github/php/php-src/blob/master/ext%2Fctype%2Fctype.c#L112
[2]: https://github.com/php/php-src/blob/master/ext/ctype/tests/ctype_alpha_basic.phpt
> I will have a look, the page overall looks like it could need some love ;-)
> In the meantime if you are interested in writing tests, I once wrote a blog post about that
> topic at
> https://dev.to/realflowcontrol/growing-the-php-core-one-test-at-a-time-4g4k
Ah, that's great. Thank you for that! :-D