Re: First look at revamping regression tests for php3
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: First look at revamping regression tests for php3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-330@lists.php.net to get a copy of this message | ||
> 2. We don't support both POST and GET methods simultaneously. In fact
> I was not aware that one could do this (let alone know how to program
> it).
Easy.
<form action="http://blah.com/file.php3?a=123&b=456"
method=POST>
<input type=hidden name=c value=789>
</form>
> 3. The --EXPECT-- lines do not start out "Content-type: text/html\n"
> This is currently assumed. Perhaps in the future we will decide
> that we want to check header information.
Yes, that is one of the main benefits of moving to an http-driven test
suite. We need to be able to test that certain headers are present. The
only way to test the SetCookie() function, for example, is to check the
headers.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net