vapor again
This commit is contained in:
12
Tests/AppTests/AppTests.swift
Normal file
12
Tests/AppTests/AppTests.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import XCTest
|
||||
@testable import App
|
||||
|
||||
class AppTests: XCTestCase {
|
||||
func testStub() throws {
|
||||
XCTAssert(true)
|
||||
}
|
||||
|
||||
static let allTests = [
|
||||
("testStub", testStub),
|
||||
]
|
||||
}
|
||||
11
Tests/LinuxMain.swift
Normal file
11
Tests/LinuxMain.swift
Normal file
@@ -0,0 +1,11 @@
|
||||
#if os(Linux)
|
||||
|
||||
import XCTest
|
||||
@testable import AppTests
|
||||
|
||||
XCTMain([
|
||||
// AppTests
|
||||
testCase(AppTests.allTests),
|
||||
])
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user