我已经运行了3个测试的机器人套件,2/3通过了。之后,我使用选项--rerun first_run_output.xml运行相同的pybot命令,传递了1个测试。接下来我运行rebot -o merged.xml --merge first_run_output.xml rerun_output.xml
在merged.xml中,测试女巫失败了,在merged.xml中重新运行了starttime =" N / A"和endtime =" N / A",这个值在xml中传播(父节点也有" N / A"时间戳中的值)
Reassuming:
- run pybot - A-pass B-pass C-failed -> generate first_run_output.xml
- run pybot --rerun - C-passed -> generate rerun_output.xml
- run rebot -o merged.xml --merge first_run_output.xml rerun_output.xml
- In first_run_output.xml and rerun_output.xml ale starttime and endtime has data value
- In merged.xml in Node <status> for C has starttime="N/A" endtime="N/A" and parents of suite C (thats aggregate A,B,C) also have starttime="N/A" endtime="N/A"
答案 0 :(得分:1)
我在机器人用户组上提出同样的问题, 答案是&#34;这是设计&#34; 详情:https://groups.google.com/forum/#!topic/robotframework-users/TWvZMtbizrs