Re: [PEPr] +1 for Testing::Testing_FIT
| From: | gERD Schaufelberger | Date: | Mon, 11 Jun 2007 22:01:28 +0000 |
| Subject: | Re: [PEPr] +1 for Testing::Testing_FIT | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47024@lists.php.net to get a copy of this message | ||
Hi Greg, Hi Stephan
> >> be sure to add the file Testing/FIT.php prior to the first
> >> release, so that there is a clear starting point.
> >
> > What should this file contain? There is no need for this file.
>
> It should be the starting point. Users who wish to use Testing/FIT
> should be able to:
You are both right.
> <?php
> require_once 'Testing/FIT.php';
> ?>
Something like this would be a good starting point. Still - as Stephan
said - I have no clue what should be there? The basic fixture? The
runner?
From my point of view, both seems to be wrong. When you write test, you
usually derive from one or the other fixture. Putting the runner to
Testing/FIT.php does not make sense either: "Surfing" to
Testing/FIT.php is not possible (at least in a serious installation),
running Testing/FIT.php from CLI looks funny, too.
Actually, I have no idea :-)
Cheers gERD