Skip to content

Commit f19d4e4

Browse files
committed
Add Integration test target
1 parent 5dc4860 commit f19d4e4

File tree

6 files changed

+361
-13
lines changed

6 files changed

+361
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
//
2+
// Copyright 2018-2020 Amazon.com,
3+
// Inc. or its affiliates. All Rights Reserved.
4+
//
5+
// SPDX-License-Identifier: Apache-2.0
6+
//
7+
8+
import XCTest
9+
10+
class AWSDataStoreCategoryPluginAuthIntegrationTests: XCTestCase {
11+
12+
override func setUp() {
13+
// Put setup code here. This method is called before the invocation of each test method in the class.
14+
}
15+
16+
override func tearDown() {
17+
// Put teardown code here. This method is called after the invocation of each test method in the class.
18+
}
19+
20+
func testExample() {
21+
// This is an example of a functional test case.
22+
// Use XCTAssert and related functions to verify your tests produce the correct results.
23+
}
24+
25+
func testPerformanceExample() {
26+
// This is an example of a performance test case.
27+
measure {
28+
// Put the code you want to measure the time of here.
29+
}
30+
}
31+
32+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## DataStore with Auth Integration Tests
2+
3+
The following steps demonstrate how to set up an GraphQL endpoint with AppSync.
4+
The auth configured will be Cognito UserPools.
5+
This set up is used to run the tests in `AWSDataStoreCategoryPluginAuthIntegrationTests.swift`.
6+

0 commit comments

Comments
 (0)