Re: PHPT ===DONE===
| From: | Gregory Beaver | Date: | Mon, 23 Apr 2007 19:19:03 +0000 |
| Subject: | Re: PHPT ===DONE=== | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27123@lists.php.net to get a copy of this message | ||
Carsten Wiedmann wrote:
> In the descriptions of phpt Test Basics [1] I can read:
> | ===DONE===
> | This is only available in the --FILE-- section. Any part after this
> | line is not going into the actual test script (see below for more).
>
> But in PEAR_RunTest I don't see anything about "===DONE===". Code after
> "===DONE===" will be executed with "pear run-tests" and I must add a
> line with "===DONE===" at the end of the section "--EXPECT--" also.
>
> Is this a documentation problem at [1] or is there some code missing in
> the class PEAR_RunTest?
PEAR_RunTest does not support ===DONE=== this is a relatively recent
addition. There is no reason it isn't supported, feel free to open a
feature request w/patch and it'll be in 1.6.0
Greg