Issue#100 Update loging
This commit is contained in:
parent
d23c1b9a9d
commit
35bf967eab
1 changed files with 10 additions and 1 deletions
|
|
@ -81,8 +81,17 @@ task removeLocalScreenshots(type: Delete) {
|
|||
delete files("$savePath")
|
||||
}
|
||||
|
||||
task showLogcat(type: Exec) {
|
||||
group = 'Test-Screenshots'
|
||||
description = 'Show Logcat'
|
||||
|
||||
//adb logcat -d
|
||||
commandLine "$adb", 'logcat', '-d'
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
connectedDebugAndroidTest.finalizedBy pullScreenshots
|
||||
connectedDebugAndroidTest.finalizedBy showLogcat
|
||||
showLogcat.finalizedBy pullScreenshots
|
||||
pullScreenshots.finalizedBy removeScreenshotsFromDevice
|
||||
clean.dependsOn(removeLocalScreenshots)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue