Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为我的 symfony 软件编写了一个功能测试并从命令提示符运行它。现在我想将功能测试的结果作为报告(在文本文件或 word 文件等中)。
你怎么能解决这个问题?
使用 :
$ php symfony test:functional --xml=log.xml
您可以检索 xml。
如果您想在持续集成过程中集成您的测试套件,请使用--xml选项强制test:functional任务生成与 JUnit 兼容的 XML 输出。
--xml
test:functional