Initial Commit

This commit is contained in:
AK
2026-10-02 23:47:44 +03:00
commit 7109398668
13 changed files with 274 additions and 0 deletions
@@ -0,0 +1,16 @@
@testable import SwiftBackendShit
import VaporTesting
import Testing
@Suite("App Tests")
struct SwiftBackendShitTests {
@Test("Test Hello World Route")
func helloWorld() async throws {
try await withApp(configure: configure) { app in
try await app.testing().test(.GET, "hello", afterResponse: { res async in
#expect(res.status == .ok)
#expect(res.body.string == "Hello, world!")
})
}
}
}