Created
July 8, 2018 17:30
-
-
Save KaneCheshire/c2215bea32f2db1e0ebfb340918ad087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PhotosTests.swift | |
class PhotosTests: XCTestCase, LoginContext, PhotosContext { | |
func test_editingPhotos() { | |
Given(I: navigateToPhotos) | |
When(I: selectEditButton) | |
Then(I: seeEditOptions) | |
} | |
private func selectEditButton() { | |
// Select edit button | |
} | |
private func seeEditOptions() { | |
// Assert in edit mode | |
} | |
} | |
// CameraTests.swift | |
class CameraTests: XCTestCase, LoginContext, PhotosContext { | |
func test_navigatingToCamera() { | |
Given(I: navigateToPhotos) | |
When(I: selectCameraButton) | |
Then(I: seeCameraOptions) | |
} | |
private func selectCameraButton() { | |
// Select camera button code | |
} | |
private func seeCameraOptions() { | |
// Assert camera options | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment