Skip to content

Commit d5b624b

Browse files
committed
Placeholder for 'parallelization groups' case
1 parent bd04d59 commit d5b624b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: Sources/Testing/Traits/ParallelizationTrait.swift

+8-1
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,19 @@ public struct ParallelizationTrait: TestTrait, SuiteTrait {
3030
/// Scopes in which suites and test functions can be serialized using the
3131
/// ``serialized(_:)`` trait.
3232
@_spi(Experimental)
33-
public enum Scope: Sendable {
33+
public enum Scope: Sendable, Equatable {
3434
/// Parallelization is applied locally.
3535
///
3636
/// TODO: More blurb.
3737
case locally
3838

39+
/// Parallelization is applied across all suites and test functions in the
40+
/// given group.
41+
///
42+
/// TODO: More blurb.
43+
@available(*, unavailable, message: "Unimplemented")
44+
case withinGroup(_ groupName: String)
45+
3946
/// Parallelization is applied globally.
4047
///
4148
/// TODO: More blurb.

0 commit comments

Comments
 (0)