Skip to content

Instantly share code, notes, and snippets.

@samdods
Last active October 28, 2018 23:18
Show Gist options
  • Save samdods/c4f3af4ff2cc020379df5adfedf909dd to your computer and use it in GitHub Desktop.
Save samdods/c4f3af4ff2cc020379df5adfedf909dd to your computer and use it in GitHub Desktop.
import XCTest
@testable import Recipeasy
class ExampleTests: XCTestCase {
override func setUp() {
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
func testPerformanceExample() {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment