mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
36 lines
776 B
Swift
36 lines
776 B
Swift
//
|
|
// UI_Tests.swift
|
|
// UI Tests
|
|
//
|
|
// Created by Nico Verbruggen on 14/10/2022.
|
|
// Copyright © 2022 Nico Verbruggen. All rights reserved.
|
|
//
|
|
|
|
import XCTest
|
|
|
|
final class UI_Tests: XCTestCase {
|
|
|
|
override func setUpWithError() throws {
|
|
continueAfterFailure = false
|
|
TestableConfigurations.broken.apply()
|
|
}
|
|
|
|
override func tearDownWithError() throws {
|
|
}
|
|
|
|
func testExample() throws {
|
|
// UI tests must launch the application that they test.
|
|
let app = XCUIApplication()
|
|
app.launchArguments = ["--configuration:broken"]
|
|
app.launch()
|
|
}
|
|
|
|
/*
|
|
func testLaunchPerformance() throws {
|
|
measure(metrics: [XCTApplicationLaunchMetric()]) {
|
|
XCUIApplication().launch()
|
|
}
|
|
}
|
|
*/
|
|
}
|