think-testing
think-testing copied to clipboard
没加载index.php入口文件问题
composer.json :
"require": { "php": ">=5.4.0", "topthink/framework": "^5.0", "topthink/think-testing": "^1.0" }, 根据官网文档建议,在index.php中定义 define('CONF_PATH', DIR.'/../config/'); php think unit 测试中,发现没引入 index.php 入口文件文件,导致 配置目录读取错误,需要更改 CONF_PATH的定义位置,是不是启动 unit时加载 index.php 会好点?