Skip to content

Commit 20c60a4

Browse files
committed
Split up tests into separate unit tests and performance tests targets
1 parent 3a1d931 commit 20c60a4

5 files changed

Lines changed: 6 additions & 2 deletions

File tree

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ let package = Package(
2121
dependencies: [],
2222
path: "Sources"),
2323
.testTarget(
24-
name: "SortedArrayTests",
24+
name: "UnitTests",
25+
dependencies: ["SortedArray"]),
26+
.testTarget(
27+
name: "PerformanceTests",
2528
dependencies: ["SortedArray"]),
2629
],
2730
swiftLanguageVersions: [4]

Tests/LinuxMain.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import XCTest
2-
@testable import SortedArrayTests
2+
@testable import UnitTests
3+
@testable import PerformanceTests
34

45
XCTMain([
56
testCase(SortedArrayTests.allTests),
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)