【发布时间】:2018-10-03 04:01:37
【问题描述】:
我想在根目录的插件中运行我的 PHPUnits 测试。
问题是每个插件都来自他们自己的存储库,并且 PHPUnit 是通过 composer dev 依赖项在那里注册的。
主项目“Application”的构建过程使用composer提取插件。
这个结构有我当前的 PHP 项目:
/Application
/Plugins
/PluginFirst
/tests
/PluginSecond
/tests
/PluginThird
/tests
想法是创建 shell 或 ruby 脚本来迭代插件文件夹并运行 PHPUnit。
【问题讨论】: