2 // ShaarliOSUITests.swift
5 // Created by Marcus Rohrmoser on 09.06.19.
6 // Copyright © 2019-2022 Marcus Rohrmoser mobile Software http://mro.name/me. All rights reserved.
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation, either version 3 of the License, or
11 // (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
24 class ShaarliOSUITests: XCTestCase {
26 override func setUp() {
27 // Put setup code here. This method is called before the invocation of each test method in the class.
29 // In UI tests it is usually best to stop immediately when a failure occurs.
30 continueAfterFailure = false
32 // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
33 XCUIApplication().launch()
35 // 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.
38 override func tearDown() {
39 // Put teardown code here. This method is called after the invocation of each test method in the class.
43 // Use recording to get started writing UI tests.
44 // Use XCTAssert and related functions to verify your tests produce the correct results.