Cucumber generates html report implementation steps

高洛峰
Release: 2017-03-28 11:31:19
Original
2145 people have browsed it

Generate html report:
1, cucumber user_register/ --format html --out=/var/www/features_report.html
2, enter http in the browser ://127.0.0.1/features_report.html View the report.
3. Others need to enter http://10.0.2.99/features_report.html in the browser ==>10.0.2.99 is the test machine where I run the test program, that is, the test report will be stored in 10.0.2.99/ var/www/ directory.
4. Configure the config/cucumber.yml file. This file is placed in the support directory.
Input:
drhel31_cucumber_report: --format progress --format html --out=/var/www/drhel31_cucumber_report.html
drhel21_cucumber_report: --format progress --format html --out=/var/ www/drhel21_cucumber_report.html
5, cucumber user_register/ -p drhel31_cucumber_report will first identify the yml configuration in cucumber when running.
This report will be generated in the /var/www/ directory on which machine it is run, and will be named drhel31_cucumber_report.html

The above is the detailed content of Cucumber generates html report implementation steps. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!