Skip to content

Commit 53d3b98

Browse files
committed
Add Test Plans
1 parent b4bcb4f commit 53d3b98

File tree

6 files changed

+205
-116
lines changed

6 files changed

+205
-116
lines changed

Coffee Shop App.entitlements

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>aps-environment</key>
6+
<string>development</string>
7+
</dict>
8+
</plist>

CoffeeShopDemo/Charts/DemoChart.swift

Lines changed: 0 additions & 110 deletions
This file was deleted.

Test Plans/TestPlan-UI.xctestplan

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"configurations" : [
3+
{
4+
"id" : "F972DDF3-74B5-49B0-86EB-00FB1B7ACEB0",
5+
"name" : "Spanish",
6+
"options" : {
7+
"language" : "es"
8+
}
9+
},
10+
{
11+
"id" : "E7E68709-BC85-4892-9C81-4B017389C6FC",
12+
"name" : "English",
13+
"options" : {
14+
"language" : "en"
15+
}
16+
}
17+
],
18+
"defaultOptions" : {
19+
"testTimeoutsEnabled" : true
20+
},
21+
"testTargets" : [
22+
{
23+
"target" : {
24+
"containerPath" : "container:coffee-shop-demo.xcodeproj",
25+
"identifier" : "BC7761562B7107540042FDB2",
26+
"name" : "CoffeeShopAppUITests"
27+
}
28+
}
29+
],
30+
"version" : 1
31+
}

Test Plans/TestPlan-Unit.xctestplan

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"configurations" : [
3+
{
4+
"id" : "8826FE4A-4C81-4681-9A9C-55C4C5EFA16C",
5+
"name" : "Address Sanitizer",
6+
"options" : {
7+
"addressSanitizer" : {
8+
"enabled" : true
9+
},
10+
"mallocGuardEdgesEnabled" : false,
11+
"mallocScribbleEnabled" : true,
12+
"preferredScreenCaptureFormat" : "screenshot",
13+
"threadSanitizerEnabled" : false
14+
}
15+
},
16+
{
17+
"id" : "51740CA6-14D3-4973-AC70-79195D86B39D",
18+
"name" : "Thread Sanitizer",
19+
"options" : {
20+
"mallocGuardEdgesEnabled" : false,
21+
"mallocScribbleEnabled" : false,
22+
"preferredScreenCaptureFormat" : "screenshot",
23+
"threadSanitizerEnabled" : true
24+
}
25+
}
26+
],
27+
"defaultOptions" : {
28+
29+
},
30+
"testTargets" : [
31+
{
32+
"parallelizable" : true,
33+
"target" : {
34+
"containerPath" : "container:coffee-shop-demo.xcodeproj",
35+
"identifier" : "BCFF50342B6699A400011A7A",
36+
"name" : "CoffeeShopAppTests"
37+
}
38+
}
39+
],
40+
"version" : 1
41+
}

coffee-shop-demo.xcodeproj/project.pbxproj

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@
168168
BCA575002A5CCFBD0029ECB1 /* CoffeeShopWidgetLiveActivity.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CoffeeShopWidgetLiveActivity.swift; sourceTree = "<group>"; };
169169
BCA575042A5CCFBF0029ECB1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
170170
BCA575062A5CCFBF0029ECB1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
171+
BCAE90262B8AB8E0003C1EBE /* TestPlan-UI.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "TestPlan-UI.xctestplan"; sourceTree = "<group>"; };
172+
BCAE90272B8AC630003C1EBE /* Coffee Shop App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Coffee Shop App.entitlements"; sourceTree = "<group>"; };
171173
BCAEBB262B21459F002CE7A2 /* RepeatOrderIntent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RepeatOrderIntent.swift; sourceTree = "<group>"; };
172174
BCAFD8E82B3A007300541CD9 /* AppError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppError.swift; sourceTree = "<group>"; };
173175
BCB63BF02A4B94AA0045B17E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
@@ -183,6 +185,7 @@
183185
BCC779E32A4E4E4300F5539F /* Food.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Food.swift; sourceTree = "<group>"; };
184186
BCC779E52A4E4F0300F5539F /* MenuItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuItem.swift; sourceTree = "<group>"; };
185187
BCCD01092AC0DAE700041327 /* ContainerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContainerView.swift; sourceTree = "<group>"; };
188+
BCE8D3082B84CE1A00FEC043 /* TestPlan-Unit.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "TestPlan-Unit.xctestplan"; sourceTree = "<group>"; };
186189
BCF37BA42A5217010098F557 /* MenuDetailsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuDetailsView.swift; sourceTree = "<group>"; };
187190
BCF4BEAA2B1FED7600F8A7AA /* CoffeeShopWidget.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CoffeeShopWidget.swift; sourceTree = "<group>"; };
188191
BCF4BEAF2B1FEFEF00F8A7AA /* CoffeeOrder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CoffeeOrder.swift; sourceTree = "<group>"; };
@@ -255,6 +258,15 @@
255258
path = Utils;
256259
sourceTree = "<group>";
257260
};
261+
BC368FC62B88D7E700DA4492 /* Test Plans */ = {
262+
isa = PBXGroup;
263+
children = (
264+
BCE8D3082B84CE1A00FEC043 /* TestPlan-Unit.xctestplan */,
265+
BCAE90262B8AB8E0003C1EBE /* TestPlan-UI.xctestplan */,
266+
);
267+
path = "Test Plans";
268+
sourceTree = "<group>";
269+
};
258270
BC450A492B41A9CF0072F8EB /* Errors */ = {
259271
isa = PBXGroup;
260272
children = (
@@ -269,6 +281,8 @@
269281
BC6C77292A48DAE80012E96F = {
270282
isa = PBXGroup;
271283
children = (
284+
BCAE90272B8AC630003C1EBE /* Coffee Shop App.entitlements */,
285+
BC368FC62B88D7E700DA4492 /* Test Plans */,
272286
BCB63BEF2A4B94AA0045B17E /* CoffeeShopDemo */,
273287
BCA574FD2A5CCFBD0029ECB1 /* Coffee Shop Widget */,
274288
BCFF50362B6699A400011A7A /* CoffeeShopAppTests */,
@@ -921,10 +935,11 @@
921935
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
922936
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
923937
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
938+
CODE_SIGN_ENTITLEMENTS = "Coffee Shop App.entitlements";
924939
CODE_SIGN_STYLE = Automatic;
925940
CURRENT_PROJECT_VERSION = 1;
926941
DEVELOPMENT_ASSET_PATHS = "\"CoffeeShopDemo/Preview Content\"";
927-
DEVELOPMENT_TEAM = CTS5987F4Q;
942+
DEVELOPMENT_TEAM = "";
928943
ENABLE_PREVIEWS = YES;
929944
GENERATE_INFOPLIST_FILE = NO;
930945
INFOPLIST_FILE = CoffeeShopDemo/Resources/Info.plist;
@@ -940,9 +955,13 @@
940955
MARKETING_VERSION = 1.1.0;
941956
PRODUCT_BUNDLE_IDENTIFIER = com.blorenzo.coffeeshop;
942957
PRODUCT_NAME = "$(TARGET_NAME)";
958+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
959+
SUPPORTS_MACCATALYST = NO;
960+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
961+
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
943962
SWIFT_EMIT_LOC_STRINGS = YES;
944963
SWIFT_VERSION = 5.0;
945-
TARGETED_DEVICE_FAMILY = "1,2";
964+
TARGETED_DEVICE_FAMILY = 1;
946965
};
947966
name = Debug;
948967
};
@@ -954,10 +973,11 @@
954973
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
955974
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
956975
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
976+
CODE_SIGN_ENTITLEMENTS = "Coffee Shop App.entitlements";
957977
CODE_SIGN_STYLE = Automatic;
958978
CURRENT_PROJECT_VERSION = 1;
959979
DEVELOPMENT_ASSET_PATHS = "\"CoffeeShopDemo/Preview Content\"";
960-
DEVELOPMENT_TEAM = CTS5987F4Q;
980+
DEVELOPMENT_TEAM = "";
961981
ENABLE_PREVIEWS = YES;
962982
GENERATE_INFOPLIST_FILE = NO;
963983
INFOPLIST_FILE = CoffeeShopDemo/Resources/Info.plist;
@@ -973,9 +993,13 @@
973993
MARKETING_VERSION = 1.1.0;
974994
PRODUCT_BUNDLE_IDENTIFIER = com.blorenzo.coffeeshop;
975995
PRODUCT_NAME = "$(TARGET_NAME)";
996+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
997+
SUPPORTS_MACCATALYST = NO;
998+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
999+
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
9761000
SWIFT_EMIT_LOC_STRINGS = YES;
9771001
SWIFT_VERSION = 5.0;
978-
TARGETED_DEVICE_FAMILY = "1,2";
1002+
TARGETED_DEVICE_FAMILY = 1;
9791003
};
9801004
name = Release;
9811005
};
@@ -984,6 +1008,7 @@
9841008
buildSettings = {
9851009
CODE_SIGN_STYLE = Automatic;
9861010
CURRENT_PROJECT_VERSION = 1;
1011+
DEVELOPMENT_TEAM = "";
9871012
GENERATE_INFOPLIST_FILE = YES;
9881013
MARKETING_VERSION = 1.0;
9891014
PRODUCT_BUNDLE_IDENTIFIER = com.blorenzo.CoffeeShopAppUITests;
@@ -1000,6 +1025,7 @@
10001025
buildSettings = {
10011026
CODE_SIGN_STYLE = Automatic;
10021027
CURRENT_PROJECT_VERSION = 1;
1028+
DEVELOPMENT_TEAM = "";
10031029
GENERATE_INFOPLIST_FILE = YES;
10041030
MARKETING_VERSION = 1.0;
10051031
PRODUCT_BUNDLE_IDENTIFIER = com.blorenzo.CoffeeShopAppUITests;

0 commit comments

Comments
 (0)