我按照 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
如果有人知道如何在测试用例通过后生成 html 报告,请告诉我或帮助我解决问题。