@@ -14,12 +14,18 @@ import _InternalTestSupport
14
14
import Testing
15
15
import struct TSCBasic. ByteString
16
16
import Basics
17
- @Suite
17
+ @Suite (
18
+ . tags( Tag . TestSize. large)
19
+ )
18
20
private struct BasicTests {
19
21
20
22
@Test (
21
23
. bug( " https://github.com/swiftlang/swift-package-manager/issues/8409 " ) ,
22
24
. requireUnrestrictedNetworkAccess( " Test requires access to https://github.com " ) ,
25
+ . tags(
26
+ Tag . UserWorkflow,
27
+ Tag . Feature. Command. build,
28
+ ) ,
23
29
)
24
30
func testExamplePackageDealer( ) throws {
25
31
try withTemporaryDirectory { tempDir in
@@ -51,7 +57,11 @@ private struct BasicTests {
51
57
}
52
58
}
53
59
54
- @Test
60
+ @Test (
61
+ . tags(
62
+ Tag . Feature. Command. build,
63
+ ) ,
64
+ )
55
65
func testSwiftBuild( ) async throws {
56
66
try await withTemporaryDirectory { tempDir in
57
67
let packagePath = tempDir. appending ( component: " tool " )
@@ -88,7 +98,13 @@ private struct BasicTests {
88
98
}
89
99
}
90
100
91
- @Test
101
+ @Test (
102
+ . tags(
103
+ Tag . Feature. Command. Package. Init,
104
+ Tag . Feature. Command. build,
105
+ Tag . Feature. PackageType. executable,
106
+ ) ,
107
+ )
92
108
func testSwiftPackageInitExec( ) async throws {
93
109
try await withKnownIssue ( " failed to build package " ) {
94
110
try await withTemporaryDirectory { tempDir in
@@ -118,7 +134,13 @@ private struct BasicTests {
118
134
}
119
135
}
120
136
121
- @Test
137
+ @Test (
138
+ . tags(
139
+ Tag . Feature. Command. Package. Init,
140
+ Tag . Feature. Command. test,
141
+ Tag . Feature. PackageType. executable,
142
+ ) ,
143
+ )
122
144
func testSwiftPackageInitExecTests( ) async throws {
123
145
try await withTemporaryDirectory { tempDir in
124
146
// Create a new package with an executable target.
@@ -140,7 +162,13 @@ private struct BasicTests {
140
162
}
141
163
}
142
164
143
- @Test
165
+ @Test (
166
+ . tags(
167
+ Tag . Feature. Command. Package. Init,
168
+ Tag . Feature. Command. build,
169
+ Tag . Feature. PackageType. library,
170
+ ) ,
171
+ )
144
172
func testSwiftPackageInitLib( ) throws {
145
173
try withTemporaryDirectory { tempDir in
146
174
// Create a new package with an executable target.
@@ -159,7 +187,14 @@ private struct BasicTests {
159
187
}
160
188
}
161
189
162
- @Test
190
+ @Test (
191
+ . tags(
192
+ Tag . Feature. Command. Package. Init,
193
+ Tag . Feature. Command. test,
194
+ Tag . Feature. PackageType. library,
195
+ Tag . Feature. SpecialCharacters,
196
+ ) ,
197
+ )
163
198
func testSwiftPackageLibsTests( ) throws {
164
199
try withTemporaryDirectory { tempDir in
165
200
// Create a new package with an executable target.
@@ -174,7 +209,12 @@ private struct BasicTests {
174
209
}
175
210
}
176
211
177
- @Test
212
+ @Test (
213
+ . tags(
214
+ Tag . Feature. Command. build,
215
+ Tag . Feature. SpecialCharacters,
216
+ ) ,
217
+ )
178
218
func testSwiftPackageWithSpaces( ) async throws {
179
219
try await withTemporaryDirectory { tempDir in
180
220
let packagePath = tempDir. appending ( components: " more spaces " , " special tool " )
@@ -222,7 +262,13 @@ private struct BasicTests {
222
262
}
223
263
}
224
264
225
- @Test
265
+ @Test (
266
+ . tags(
267
+ Tag . Feature. Command. run,
268
+ Tag . Feature. Command. Package. Init,
269
+ Tag . Feature. PackageType. executable,
270
+ ) ,
271
+ )
226
272
func testSwiftRun( ) throws {
227
273
try withTemporaryDirectory { tempDir in
228
274
let packagePath = tempDir. appending ( component: " secho " )
@@ -260,6 +306,13 @@ private struct BasicTests {
260
306
}
261
307
}
262
308
309
+ @Test (
310
+ . tags(
311
+ Tag . Feature. Command. test,
312
+ Tag . Feature. Command. Package. Init,
313
+ Tag . Feature. PackageType. library,
314
+ ) ,
315
+ )
263
316
func testSwiftTest( ) throws {
264
317
try withTemporaryDirectory { tempDir in
265
318
let packagePath = tempDir. appending ( component: " swiftTest " )
@@ -302,7 +355,12 @@ private struct BasicTests {
302
355
}
303
356
}
304
357
305
- @Test
358
+ @Test (
359
+ . tags(
360
+ Tag . Feature. Command. test,
361
+ Tag . Feature. Resource,
362
+ ) ,
363
+ )
306
364
func testSwiftTestWithResources( ) async throws {
307
365
try await fixture ( name: " Miscellaneous/PackageWithResource/ " ) { packagePath in
308
366
0 commit comments