Hey everyone,
So I'm trying to capture logs from android device on fail. To do this I have the following:
After do |scenario|
if scenario.failed?
adb logcat -t 500 > Feature_name_Scenario_name.txt
end
end
-----------------
So this seems like a good idea but what I'm finding is Ruby's memory is going crazy when I run this. Specifically I run our tests through Jenkins. I believe this is causing memory on the jenkins slave to go wild.
Has anyone tried grabbing logcat files on failure?
Any ideas around this?
Thanks,
Brad