Re: Re: role="test" and dir structure
| From: | Jon Parise | Date: | Thu, 29 Jan 2004 22:39:48 +0000 |
| Subject: | Re: Re: role="test" and dir structure | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-424@lists.php.net to get a copy of this message | ||
On Thu, Jan 29, 2004 at 10:06:36AM +0100, Lukas Smith wrote:
> >>>1) if a package has a testsuite not done with
> >>>PHPUnit, but with SimpleTest [1], should the
> >>>test files be labelled with role="test" in package.xml? I ask
> >>>because I heard some complaints about it throwing a whole bunch
> >>>of errors when running the PEAR builds.
> >>>It should be safer a role="doc", then, even if they're really
> >>>tests...
>
> They should definatly be put in as test so that they end up in the
> correct directory. If there are any issues please test and let us know!
Agreed. Maybe we can add a 'type' attribute to that element if we
need more specificity, e.g.:
<file role="test" type="PHPUnit" ... />
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)