electricbubble / gidevice-cli

gidevice cli ( like `libimobiledevice` )
MIT License
56 stars 12 forks source link

Requesting to show console logs only when added --debug #4

Closed krishtoautomate closed 3 years ago

krishtoautomate commented 3 years ago

Requesting to show logs only when executed command with argument --debug

gidevice -u $UDID xctest com.facebook.WebDriverAgentRunner.xctrunner --debug

electricbubble commented 3 years ago

XCTest output is the same as Xcode

I just think it is much more useful

krishtoautomate commented 3 years ago

it will be great to have two options - with debug logs and without logs(just get a message connected url)

electricbubble commented 3 years ago

if didn't use to launch WDA? nothing to display?

electricbubble commented 3 years ago

I think that's good

v0.4.2

$ gidevice xctest com.leixipaopao.WebDriverAgentRunner.xctrunner --contains="ServerURLHere->" --contains="Running tests..." --contains="Built at"

2021-04-28 23:15:56.229402+0800 WebDriverAgentRunner-Runner[2436:498709] Running tests...
2021-04-28 23:15:57.709613+0800 WebDriverAgentRunner-Runner[2436:498709] Built at Apr 24 2021 00:16:35
2021-04-28 23:15:57.719480+0800 WebDriverAgentRunner-Runner[2436:498709] ServerURLHere->http://192.168.1.14:8100<-ServerURLHere
krishtoautomate commented 3 years ago

works perfect. thanks