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

怎么在TP中使用PHPunit

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:14:20
Original
1096 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template