Hi,

test cases are part of the PHP source tree on
http://git.php.net/?p=php-src.git;a=summary

http://php.net/git.php has some information to build PHP from a git
checkout in the wiki there are https://wiki.php.net/vcs/gitfaq and
https://wiki.php.net/vcs/gitworkflow which might be useful.

Test cases are in the tests/ directory next to the area of code they
relate to, tests are run calling `make test` after compiling PHP,
running specific tests can be done by `make test TESTS=path/to/tests/`

An introduction to write tests is on http://qa.php.net/write-test.php

I hope this helps, if anything is unclear don't hesitate to ask! We'd
love getting help (and suggestions for improving the information)!

If you want to have quick feedback etc. you might also join IRC
#php.pecl on EFNet. The channel has quite a few regular attendees who
can assist!

johannes

On Thu, 2013-05-02 at 21:06 -0600, Trevor Carlston wrote:
> I would like to contribute to the PHP project. I am willing to write phpt
> tests to help increase the effective code coverage.
> 
> What git repositories will I need to clone?
> 
> What directory will I place the test cases within?
> 
> How do I run to verify a test case that I submit?
> 
> Thank you,
> 
> Trevor Carlston



-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to