Re: Interest in Contributing
| From: | Johannes Schlüter | Date: | Fri, 03 May 2013 15:50:33 +0000 |
| Subject: | Re: Interest in Contributing | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-66852@lists.php.net to get a copy of this message | ||
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