Running `swift test` at the project root was failing because there were no test targets specified in Package.swift.
@@ -10,5 +10,6 @@ let package = Package(
],
targets: [
.target(name: "KeychainSwift", dependencies: [], path: "Sources"),
+ .testTarget(name: "KeychainSwiftTests", dependencies: ["KeychainSwift"])
]
)
@@ -1,4 +1,5 @@
import XCTest
+@testable import KeychainSwift
class AccessGroupTests: XCTestCase {
class ClearTests: XCTestCase {
@@ -6,6 +6,7 @@
//
class ConcurrencyTests: XCTestCase {
class KeychainWithPrefixTests: XCTestCase {
class KeychainSwiftTests: XCTestCase {
class SynchronizableTests: XCTestCase {
class macOS_Tests: XCTestCase {