Re: unit test a single case
| From: | Christoph M. Becker | Date: | Wed, 17 Jan 2018 18:00:22 +0000 |
| Subject: | Re: unit test a single case | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101607@lists.php.net to get a copy of this message | ||
On 17.01.2018 at 17:50, Nikita Popov wrote:
> On Wed, Jan 17, 2018 at 5:40 PM, Sam Ding <samding@ca.ibm.com> wrote:
>
>> Further how to debug a php unit case code?
>
> The first step for debugging would be to look at the .out or .diff file for
> the failing .phpt. There will also be a .php file, which can be used to run
> the test file directly.
See also <http://qa.php.net/write-test.php#analyzing-failing-tests>.
--
Christoph M. Becker