Re: run-test and .php

From: Date: Wed, 24 Nov 2004 04:34:06 +0000
Subject: Re: run-test and .php
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34553@lists.php.net to get a copy of this message
Bertrand Gugger wrote:
Mika Tuupola wrote:
On Tue, 23 Nov 2004, bertrand Gugger wrote:
but again it's some kind of auto-genarate .phpt what I'm searching
    Writing such thing would appear quite impossible task
    to me (unless you are talking about some kind of test
    skeleton generator).
 
Simply that: storing the php commands to be put after --FILE-- and the result to be put after --EXPECT-- as $ php -q makePhpt.php (the php commands) --FILE-- <?php ... (the php commands) ?> --EXPECT-- (result)
This is much harder than using that Save-As command of your favorite editor. Greg

« previous php.pear.dev (#34553) next »