On 05/08/2013 05:36 AM, Piotr D wrote:
Hello,

I am writing to you because I am doing an academic project related to
testing php applications. I have read all your guide to write test cases
(which is clear and understandable), there is one thing that bothers me
though - how exactly do I run tests? Should I just run the run-tests.php
file (for example in a browser)? And is there some official run-tests.php
file on the internet? Because I have found some, but I do not know if the
source is reliable (I have not found this file on qa.php.net, although
that's the site I would search on the first place).

Thank you for attention,
Piotr.


The tests are command line based. The run-tests.php file is commonly
invoked by running 'make' after PHP is built from source code.  (This
is mentioned on http://qa.php.net/, but I agree it could be expanded
on).

The run-tests.php file is included in the top level directory of PHP's
source bundle, e.g
http://git.php.net/?p=php-src.git;a=tree;h=refs/heads/master;hb=refs/heads/master

I'm sure there are various instructions for running tests.
Instructions I have handy are in chapter 19 of this PDF:
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

Chris

--
christopher.jo...@oracle.com  http://twitter.com/ghrd
Newly updated, free PHP & Oracle book:
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

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

Reply via email to