Skip to content

Commit ebb4f06

Browse files
committed
[#234] Tests 코드를 App 폴더 안으로 이동
1 parent 266a9a3 commit ebb4f06

7 files changed

+5
-5
lines changed

EATSSU/Tests/UITests/SnapShotTests.swift renamed to EATSSU/App/Tests/UITests/SnapShotTests.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ final class SnapShotTests: XCTestCase {
1414
override func setUpWithError() throws {
1515
continueAfterFailure = false
1616
app = XCUIApplication()
17-
setupSnapshot(app) // fastlane snapshot 초기화
17+
setupSnapshot(app) // fastlane snapshot 초기화
1818
app.launch()
1919
}
2020

@@ -31,15 +31,15 @@ final class SnapShotTests: XCTestCase {
3131
expectation(for: mealPredicate, evaluatedWith: mealButton, handler: nil)
3232
waitForExpectations(timeout: 5, handler: nil)
3333
snapshot("01_Restaurant")
34-
34+
3535
// 2. "지도" 탭 선택 및 스크린샷 촬영
3636
let mapButton = app.tabBars.buttons["지도"]
3737
mapButton.tap()
3838
let mapPredicate = NSPredicate(format: "isSelected == true")
3939
expectation(for: mapPredicate, evaluatedWith: mapButton, handler: nil)
4040
waitForExpectations(timeout: 5, handler: nil)
4141
snapshot("02_Map")
42-
42+
4343
// 3. "마이" 탭 선택 및 스크린샷 촬영
4444
let myButton = app.tabBars.buttons["마이"]
4545
myButton.tap()

EATSSU/Project.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ let project = Project(
200200
destinations: [.iPhone],
201201
product: .uiTests,
202202
bundleId: "com.jiwoo.EatSSU.UITests",
203-
sources: ["Tests/UITests/**"],
203+
sources: ["App/Tests/UITests/**"],
204204
dependencies: [
205205
.target(name: "EATSSU-DEV"),
206206
],
@@ -211,7 +211,7 @@ let project = Project(
211211
destinations: [.iPhone],
212212
product: .unitTests,
213213
bundleId: "com.jiwoo.EatSSU.UnitTests",
214-
sources: ["Tests/UnitTests/**"],
214+
sources: ["App/Tests/UnitTests/**"],
215215
dependencies: [
216216
.target(name: "EATSSU-DEV"),
217217
],

0 commit comments

Comments
 (0)