无法生成 CircleCI HTML 报告

时间:2021-01-05 11:19:21

标签: html cucumber circleci

我按照 this documentation 在我的 Cucumber 框架中生成 HTML 格式的测试结果。但在这里,我总是在获得报告的最终哈希值后遇到 Error:: No file(s) found at /home/circleci/project/logs/cucumber 问题。我在我的 config.yml 中使用:

 mkdir -p ~/cucumber
            bundle exec cucumber --format pretty --format json --out ~/cucumber/tests.cucumber
          when: always
      - store_test_results:
          path: ~/cucumber
      - store_artifacts:
          path: ~/cucumber      

我面临的错误在下面的截图中提到。 enter image description here

如果有人知道如何在测试用例通过后生成 html 报告,请告诉我或帮助我解决问题。

0 个答案:

没有答案