Calabash-ios Version: >0.14.1 & RubyMine IDE
以下命令在控制台中生成输出,显示的输出未出现在 html 报告中。该报告仅显示附加的功能文件步骤。
Command1: DEVICE_TARGET='iPhone 5s (8.1 Simulator)' cucumber features --format 'Calabash::Formatters::Html' --out index.html
Command2:DEVICE_TARGET='iPhone 5s (8.1 Simulator)' cucumber features --format 'Slowhandcuke::Formatter' --format html --out realtrans2.html
Command3: DEVICE_TARGET='iPhone 5s (8.1 Simulator)' cucumber features --format html --out reports1.html
例如:控制台输出
Mac:rt-mobile anupama$ DEVICE_TARGET='iPhone 5s (8.1 Simulator)' cucumber features --format 'Calabash::Formatters::Html' --out index.html
FARM AND HOME REAL ESTATE AND INSURANCE_17217 VENDOR COORDINATOR
Username from Database is: 'rustysun1'
Username from Database is: '100007187'
FARM AND HOME REAL ESTATE AND INSURANCE_17217 VENDOR PERFORMER
Username from Database is: 'rustysun1'
Username from Database is: '100007187'
DB User does not matches with the loggedin User
HTML 报告:PFA 报告
宝石清单:
真棒打印(1.6.1) 大十进制 (1.2.0) 建设者(3.2.2) 捆绑器(1.9.9、1.9.6) 捆绑器卸载 (1.0.2) 葫芦常见(0.0.1) 葫芦黄瓜 (0.14.2, 0.14.1) CFPropertyList (2.3.1) 黄瓜 (1.3.19) diff-lcs (1.2.5) edn (1.0.6) 可执行挂钩 (1.3.2) 宝石包装器 (1.2.7) 地理编码器(1.2.8) 小黄瓜 (2.12.2) httpclient (2.6.0.1) io 控制台 (0.4.2) json (1.8.2, 1.7.7) 迷你测试(4.3.2) multi_json (1.11.0) 多测试(0.1.2) mysql (2.9.1) 心理 (2.0.0) 机架 (1.6.1) 机架保护 (1.5.3) 耙子 (0.9.6) rdoc (4.0.0) 可重试(2.0.2) rspec (3.2.0) rspec 核心 (3.2.3) rspec-expectations (3.2.1) rspec 模拟 (3.2.1) rspec 支持 (3.2.2) rubygems 捆绑器 (1.4.4) run_loop (1.3.3, 1.3.2) 转速 (1.11.3.9) sim_launcher (0.4.13) 西纳特拉 (1.4.6) slowhandcuke (0.0.3) 测试单元(2.0.0.0) 雷神(0.19.1) 倾斜 (2.0.1) tiny_tds (0.6.2) 版本 (1.0.0)