xctool ...ERROR: build-tests: '' is not a testing target in this scheme
Asked Answered
H

1

1

i try to run my Xcode UI Tests and just a specific method. It isn't possible with the default xcodebuild command line from apple. I found the xctool but the tool didn't found my UITestsTarget.

Here my command line:

/path/to/xctool -workspace APP.xcworkspace -scheme "APPScheme" test -only UITestsTarget:UITestsClass/UITestsMethod

and i got this error: ...ERROR: build-tests: 'UITestsTarget' is not a testing target in this scheme.

with xcodebuild list i can see all the informations about project and i see my UITestsTarget.

has someone any ideas? Cheers

Hemipterous answered 3/2, 2016 at 15:30 Comment(0)
S
2

xctool doesn`t support Xcode UI testing now. https://github.com/facebook/xctool/issues/534. They told: " At Facebook we are using our own infrastructure (see https://github.com/facebook/webdriveragent) to run E2E tests and as a result we aren't going to work on this feature in the nearest future."

Saunder answered 4/2, 2016 at 8:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.