rajdeepv / parallel_calabash

Helps running calabash ios/android tests in parallel
MIT License
40 stars 19 forks source link

Device Info at Runtime #19

Open Purus opened 8 years ago

Purus commented 8 years ago

The statement ENV['DEVICE_INFO'] works fine in command line. But how can I get the device details at run time in my Ruby step definition?

Any tips on the usage will be helpful.

rajdeepv commented 8 years ago

the same ENV['DEVICE_INFO'] variable will give device details during run time. each parallel run will set different value for ENV['DEVICE_INFO']

Purus commented 8 years ago

I forgot to add the information in my actual post.

I have tried the same and it returns ab empty value. Any guess on what I might be missing? On 10-Feb-2016 10:05 pm, "Rajdeep" notifications@github.com wrote:

the same ENV['DEVICE_INFO'] variable will give device details during run time. each parallel run will set different value for ENV['DEVICE_INFO']

— Reply to this email directly or view it on GitHub https://github.com/rajdeepv/parallel_calabash/issues/19#issuecomment-182466178 .

rajdeepv commented 8 years ago

Can you please give more details? your command, console output , code snippet etc?