Re: How do I actually run a test script under Windows?
| From: | Kai Schröder | Date: | Wed, 04 Aug 2010 09:53:26 +0000 |
| Subject: | Re: How do I actually run a test script under Windows? | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65617@lists.php.net to get a copy of this message | ||
Dear Kevin,
please look into your PHP folder root. Their you should find a file named run-tests.php.
Set the environment variable TEST_PHP_EXECUTABLE to your PHP binary path:
C:\>SET TEST_PHP_EXECUTABLE=C:\Programme\xampp\php\php.exe
Than start the test runner with --help to see the syntax and options:
php C:\php-src\php-src-5.3\run-tests.php --help
(C:\php-src\php-src-5.3 is the checkout base of http://svn.php.net/repository/php/php-src/branches/PHP_5_3 on my harddisk).
Best regards,
Kai Schröder
Kevin Roberts schrieb:
I have set up my php52 and php53 environments on Windows XP (per instructions on TestFest2010 wiki, and I've reviewed the instructions on how to write phpt scripts. Now, how do I actually *run* a test script? I have seen some references to a run-tests.php file, but I can't find out where to download it. Can anyone advise? I'd like to run some tests on my workstation as practice before our testfest event this Saturday in Atlanta. Regards. Kevin Roberts