Skip to content

Commit

Permalink
Placeholder for 'parallelization groups' case
Browse files Browse the repository at this point in the history
  • Loading branch information
grynspan committed Jan 17, 2025
1 parent bd04d59 commit d5b624b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Sources/Testing/Traits/ParallelizationTrait.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,19 @@ public struct ParallelizationTrait: TestTrait, SuiteTrait {
/// Scopes in which suites and test functions can be serialized using the
/// ``serialized(_:)`` trait.
@_spi(Experimental)
public enum Scope: Sendable {
public enum Scope: Sendable, Equatable {
/// Parallelization is applied locally.
///
/// TODO: More blurb.
case locally

/// Parallelization is applied across all suites and test functions in the
/// given group.
///
/// TODO: More blurb.
@available(*, unavailable, message: "Unimplemented")
case withinGroup(_ groupName: String)

/// Parallelization is applied globally.
///
/// TODO: More blurb.
Expand Down

0 comments on commit d5b624b

Please sign in to comment.