魅力报告在生成后为空

时间:2018-12-24 14:27:42

标签: allure newman

我正在使用诱惑2.8.1。我已经将它和NPM一起安装到了docker容器中。之后,我运行allure generate test-results命令从junit xml生成诱人的报告,该报告是用newman工具生成的。

在报告目录中,将出现一个空目录data/attachments和目录data/test-cases,其中包含来自junit xml的所有测试用例。

测试用例xml的示例:

<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="test-collection-2" tests="1" time="0.463">
  <testsuite name="Test succeed request" id="b3ce6542-d493-4206-b67b-e74e4ca58fde" tests="2" failures="0" errors="0" time="0.463">
    <testcase name="Status code is 200" time="0.463"/>
    <testcase name="Content-Type is present" time="0.463"/>
  </testsuite>
</testsuites>

打开生成的输入html后,什么都没有出现。 enter image description here

您能帮我解决这个问题吗?

0 个答案:

没有答案
相关问题