delete UI test stubs

This commit is contained in:
Peter Steinberger 2025-06-16 20:20:14 +02:00
parent db752fc39c
commit 0c505f77be
4 changed files with 0 additions and 84 deletions

1
.gitignore vendored
View file

@ -40,7 +40,6 @@ xcuserdata/
.build/
.swiftpm/
Package.resolved
/*.xcodeproj
# CocoaPods
Pods/

View file

@ -61,11 +61,6 @@
path = VibeTunnelTests;
sourceTree = "<group>";
};
7886880B2DFF4FCC00B22C15 /* VibeTunnelUITests */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = VibeTunnelUITests;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFrameworksBuildPhase section */
@ -100,7 +95,6 @@
children = (
788687F32DFF4FCB00B22C15 /* VibeTunnel */,
788688012DFF4FCB00B22C15 /* VibeTunnelTests */,
7886880B2DFF4FCC00B22C15 /* VibeTunnelUITests */,
788687F22DFF4FCB00B22C15 /* Products */,
);
sourceTree = "<group>";
@ -180,9 +174,6 @@
dependencies = (
7886880A2DFF4FCC00B22C15 /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
7886880B2DFF4FCC00B22C15 /* VibeTunnelUITests */,
);
name = VibeTunnelUITests;
packageProductDependencies = (
);

View file

@ -1,41 +0,0 @@
//
// VibeTunnelUITests.swift
// VibeTunnelUITests
//
// Created by Peter Steinberger on 15.06.25.
//
import XCTest
final class VibeTunnelUITests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
// In UI tests its 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.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
@MainActor
func testExample() throws {
// UI tests must launch the application that they test.
let app = XCUIApplication()
app.launch()
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
@MainActor
func testLaunchPerformance() throws {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}

View file

@ -1,33 +0,0 @@
//
// VibeTunnelUITestsLaunchTests.swift
// VibeTunnelUITests
//
// Created by Peter Steinberger on 15.06.25.
//
import XCTest
final class VibeTunnelUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
@MainActor
func testLaunch() throws {
let app = XCUIApplication()
app.launch()
// Insert steps here to perform after app launch but before taking a screenshot,
// such as logging into a test account or navigating somewhere in the app
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}