This is my simple test case:
import XCTest @testable import MyApp
because of this:

class TabBarControllerTests: XCTestCase { override func setUp() { super.setUp() let defaults = NSUserDefaults.standardUserDefaults() defaults.setObject([], forKey: DBTabBarOrderedIndexesKey)
As soon as I touch UITabBarItem , I change the value of DBAppSettings.mode , so here I would like to access my DBAppSettings.mode property to check if it is really changed.
I noticed that there is one strange thing, when I create my application and check that it was built, there is not built for my target UITest . It is important?

import ios xcode swift xcode-ui-testing
Bartłomiej Semańczyk Aug 02 '15 at 6:16 2015-08-02 06:16
source share