Skip to content

Commit dd992d8

Browse files
committed
First commit
1 parent a6dfc79 commit dd992d8

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// TableViewExampleTests.swift
3+
// TableViewExampleTests
4+
//
5+
// Created by Murali Kishan Bhat on 12/2/16.
6+
// Copyright © 2016 EXILANT. All rights reserved.
7+
//
8+
9+
import XCTest
10+
@testable import TableViewExample
11+
12+
class TableViewExampleTests: XCTestCase {
13+
14+
override func setUp() {
15+
super.setUp()
16+
// Put setup code here. This method is called before the invocation of each test method in the class.
17+
}
18+
19+
override func tearDown() {
20+
// Put teardown code here. This method is called after the invocation of each test method in the class.
21+
super.tearDown()
22+
}
23+
24+
func testExample() {
25+
// This is an example of a functional test case.
26+
// Use XCTAssert and related functions to verify your tests produce the correct results.
27+
}
28+
29+
func testPerformanceExample() {
30+
// This is an example of a performance test case.
31+
self.measure {
32+
// Put the code you want to measure the time of here.
33+
}
34+
}
35+
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// TableViewExampleUITests.swift
3+
// TableViewExampleUITests
4+
//
5+
// Created by Murali Kishan Bhat on 12/2/16.
6+
// Copyright © 2016 EXILANT. All rights reserved.
7+
//
8+
9+
import XCTest
10+
11+
class TableViewExampleUITests: XCTestCase {
12+
13+
override func setUp() {
14+
super.setUp()
15+
16+
// Put setup code here. This method is called before the invocation of each test method in the class.
17+
18+
// In UI tests it is usually best to stop immediately when a failure occurs.
19+
continueAfterFailure = false
20+
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21+
XCUIApplication().launch()
22+
23+
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
24+
}
25+
26+
override func tearDown() {
27+
// Put teardown code here. This method is called after the invocation of each test method in the class.
28+
super.tearDown()
29+
}
30+
31+
func testExample() {
32+
// Use recording to get started writing UI tests.
33+
// Use XCTAssert and related functions to verify your tests produce the correct results.
34+
}
35+
36+
}

0 commit comments

Comments
 (0)