mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
474 stars 151 forks source link

Suite starttime and endtime shown as N/A when using --suite option #155

Open rhapsodyman opened 6 years ago

rhapsodyman commented 6 years ago

pybot --suite MySuite$$Test1 processes_benchmark gives the expected result

pic1

Using pabot (pabot --suite MySuite$$Test1 processes_benchmark ) gives n/A n/A

pic2

output.xml contains

`

        <status status="PASS" endtime="20180714 12:06:03.905" starttime="20180714 12:05:39.916"/>
    </suite>`
mkorpela commented 6 years ago

Why would you use suite option with pabot?

rhapsodyman commented 6 years ago

I want to select a subset of suites (for example read them from an excel file) and append --suite to the command. Just trying to understand why I am getting this N/A. May be it is related to rebot that is used by pabot ?

mkorpela commented 6 years ago

Yep. Seems that this behaviour comes from rebot. pybot --suite MySuite$$Test1 processes_benchmark and rebot --suite MySuite$$Test1 output.xml will do the same thing.

rainmanwy commented 6 years ago

@mkorpela , i have tried to integrate pabot to my own script. I have met same problem. In my condition, this problem related with "--exclude" option, after remove this option, everything looks ok.

Another suggestion, could pabot provide a programmatic method to execute case parallel, like "run" method in Robot Framework.