             platform: .iOS,
             settings: Settings(buildSettings: ["SETTING_2": "VALUE"])
         )
-
-        let targets = [application, framework]
+        
+        let uiTest = Target(
+            name: "MyAppUITests",
+            type: .uiTestBundle,
+            platform: .iOS,
+            settings: Settings(buildSettings: ["SETTING_3": "VALUE"]),
+            dependencies: [Dependency(type: .target, reference: "MyApp")]
+        )
+
+        let targets = [application, framework, uiTest]
 
         $0.describe("Options") {
 

            $0.it("generates targets") {
                let pbxProject = try getPbxProj(spec)
                let nativeTargets = pbxProject.objects.nativeTargets.referenceValues
                try expect(nativeTargets.count) == 2
                try expect(nativeTargets.contains { $0.name == application.name }).beTrue()
                try expect(nativeTargets.contains { $0.name == framework.name }).beTrue()
            }

            $0.it("generates platform version") {


            $0.it("generates dependencies") {
                let pbxProject = try getPbxProj(spec)
                
                let nativeTargets = pbxProject.objects.nativeTargets.referenceValues
                let dependencies = pbxProject.objects.targetDependencies.referenceValues
                try expect(dependencies.count) == 2
                try expect(dependencies[0].target) == nativeTargets.first { $0.name == framework.name }!.reference
                try expect(dependencies[1].target) == nativeTargets.first { $0.name == uiTest.name }!.reference
            }

            $0.it("generates run scripts") {
