ios - Xcode 7 record ui button doesn't appear -
i created ui test class:
import foundation import xctest @testable import testproject @available(ios 9.0, *) class changewishlistuitests: xctestcase { func testexample() { // use recording started writing ui tests. // use xctassert , related functions verify tests produce correct results. } }
run app on iphone 6 simulator ios 9.3:
but, record button, in tutorial: https://developer.apple.com/library/ios/documentation/toolslanguages/conceptual/xcode_overview/recordinguitests.html#//apple_ref/doc/uid/tp40010215-ch75-sw1
didn't appear.
- your cursor has inside method want implement (because xcode generates code cursor position)
if doesn't help:
sometimes xcode appears instable when add ui test existing project. following sequence helped me in cases:
- clean project
- restart xcode
- rebuild project
- click inside test method set cursor
sometimes had 2 times.
- your simulator has run @ least ios 9.0
Comments
Post a Comment