Re: first php 5 class
| From: | Nathan Nobbe | Date: | Wed, 30 Jan 2008 20:06:38 +0000 |
| Subject: | Re: first php 5 class | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268367@lists.php.net to get a copy of this message | ||
On Jan 30, 2008 2:55 PM, Greg Donald <gdonald@gmail.com> wrote:
> If you only need to test data integrity then it seems good enough. I
> would argue that being able to test xhr requests is a basic
> requirement at this stage in web development.
how exactly do you test an xhr request?
my suspicion is that you would just set data in superglobal
arrays, eg.
$_POST['somevar'] = ' blah';
i dont really see what the difference between an xhr request
and a non-xhr request is in the context of a unit test.
its still http..
-nathan