質問編集履歴

2

ソースコード追加

2016/10/06 03:13

投稿

kyoppy
kyoppy

スコア20

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,47 @@
4
4
 
5
5
  ```swift
6
6
 
7
+ import XCTest
8
+
9
+ @testable import start
10
+
11
+
12
+
13
+ class startTests: XCTestCase {
14
+
15
+
16
+
17
+ override func setUp() {
18
+
19
+ super.setUp()
20
+
21
+ // Put setup code here. This method is called before the invocation of each test method in the class.
22
+
23
+ }
24
+
25
+
26
+
27
+ override func tearDown() {
28
+
29
+ // Put teardown code here. This method is called after the invocation of each test method in the class.
30
+
31
+ super.tearDown()
32
+
33
+ }
34
+
35
+
36
+
37
+ func testExample() {
38
+
39
+ // This is an example of a functional test case.
40
+
41
+ // Use XCTAssert and related functions to verify your tests produce the correct results.
42
+
43
+ }
44
+
45
+
46
+
7
- func testPerformanceExample() {
47
+ func testPerformanceExample() {
8
48
 
9
49
  // This is an example of a performance test case.
10
50
 
@@ -18,6 +58,10 @@
18
58
 
19
59
  }
20
60
 
61
+
62
+
63
+ }
64
+
21
65
 
22
66
 
23
67
  ```
@@ -26,4 +70,6 @@
26
70
 
27
71
  Value of type 'startTests' has no member 'measure'と言うエラーが発生しており、改善策を教えてください。
28
72
 
73
+ single view project作成後にpod installを行った際にエラーが出ました。
74
+
29
75
  xcode ver:7.3.1

1

問題箇所の詳細

2016/10/06 03:13

投稿

kyoppy
kyoppy

スコア20

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,7 @@
1
+ start.xcodeproj内のstartTests.swift内部でのエラーです。
2
+
3
+
4
+
1
5
  ```swift
2
6
 
3
7
  func testPerformanceExample() {