Home >Backend Development >PHP Tutorial >怎么在TP中使用PHPunit

怎么在TP中使用PHPunit

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:14:201091browse

如何在TP中使用PHPunit
如何在TP中使用PHPunit,针对某个控制器下的方法测试,但控制器都有继承关系,并且存在跳转方法,phpunit会报错。求解。
------解决思路----------------------
在 测试文件中引入tp项目目录下的index.php文件

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn