dkahgld

ZBProjectUITests.m 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // ZBProjectUITests.m
  3. // ZBProjectUITests
  4. //
  5. // Created by 学丽 on 2019/3/26.
  6. // Copyright © 2019 ZB. All rights reserved.
  7. //
  8. #import <XCTest/XCTest.h>
  9. @interface ZBProjectUITests : XCTestCase
  10. @end
  11. @implementation ZBProjectUITests
  12. - (void)setUp {
  13. // Put setup code here. This method is called before the invocation of each test method in the class.
  14. // In UI tests it is usually best to stop immediately when a failure occurs.
  15. self.continueAfterFailure = NO;
  16. // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
  17. [[[XCUIApplication alloc] init] launch];
  18. // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
  19. }
  20. - (void)tearDown {
  21. // Put teardown code here. This method is called after the invocation of each test method in the class.
  22. }
  23. - (void)testExample {
  24. // Use recording to get started writing UI tests.
  25. // Use XCTAssert and related functions to verify your tests produce the correct results.
  26. }
  27. @end