@@ -5,7 +5,7 @@ import Testing
5
5
6
6
@Suite struct MiniMakeTests {
7
7
// Test basic task management functionality
8
- @Test func testBasicTaskManagement ( ) throws {
8
+ @Test func basicTaskManagement ( ) throws {
9
9
try withTemporaryDirectory { tempDir in
10
10
var make = MiniMake ( printProgress: { _, _, _, _ in } )
11
11
let outputPath = tempDir. appendingPathComponent ( " output.txt " ) . path
@@ -21,7 +21,7 @@ import Testing
21
21
}
22
22
23
23
// Test that task dependencies are handled correctly
24
- @Test func testTaskDependencies ( ) throws {
24
+ @Test func taskDependencies ( ) throws {
25
25
try withTemporaryDirectory { tempDir in
26
26
var make = MiniMake ( printProgress: { _, _, _, _ in } )
27
27
let input = tempDir. appendingPathComponent ( " input.txt " ) . path
@@ -51,7 +51,7 @@ import Testing
51
51
}
52
52
53
53
// Test that phony tasks are always rebuilt
54
- @Test func testPhonyTask ( ) throws {
54
+ @Test func phonyTask ( ) throws {
55
55
try withTemporaryDirectory { tempDir in
56
56
var make = MiniMake ( printProgress: { _, _, _, _ in } )
57
57
let outputPath = tempDir. appendingPathComponent ( " phony.txt " ) . path
@@ -71,7 +71,7 @@ import Testing
71
71
}
72
72
73
73
// Test that the same build graph produces stable fingerprints
74
- @Test func testFingerprintStability ( ) throws {
74
+ @Test func fingerprintStability ( ) throws {
75
75
var make1 = MiniMake ( printProgress: { _, _, _, _ in } )
76
76
var make2 = MiniMake ( printProgress: { _, _, _, _ in } )
77
77
@@ -87,7 +87,7 @@ import Testing
87
87
}
88
88
89
89
// Test that rebuilds are controlled by timestamps
90
- @Test func testTimestampBasedRebuild ( ) throws {
90
+ @Test func timestampBasedRebuild ( ) throws {
91
91
try withTemporaryDirectory { tempDir in
92
92
var make = MiniMake ( printProgress: { _, _, _, _ in } )
93
93
let input = tempDir. appendingPathComponent ( " input.txt " ) . path
@@ -118,7 +118,7 @@ import Testing
118
118
}
119
119
120
120
// Test that silent tasks execute without output
121
- @Test func testSilentTask ( ) throws {
121
+ @Test func silentTask ( ) throws {
122
122
try withTemporaryDirectory { tempDir in
123
123
var messages : [ ( String , Int , Int , String ) ] = [ ]
124
124
var make = MiniMake (
@@ -146,7 +146,7 @@ import Testing
146
146
}
147
147
148
148
// Test that error cases are handled appropriately
149
- @Test func testErrorWhileBuilding ( ) throws {
149
+ @Test func errorWhileBuilding ( ) throws {
150
150
struct BuildError : Error { }
151
151
try withTemporaryDirectory { tempDir in
152
152
var make = MiniMake ( printProgress: { _, _, _, _ in } )
@@ -163,7 +163,7 @@ import Testing
163
163
}
164
164
165
165
// Test that cleanup functionality works correctly
166
- @Test func testCleanup ( ) throws {
166
+ @Test func cleanup ( ) throws {
167
167
try withTemporaryDirectory { tempDir in
168
168
var make = MiniMake ( printProgress: { _, _, _, _ in } )
169
169
let outputs = [
0 commit comments