-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a unique identifier for a test method execution
This is currently being passed to - uniqueChannelName(…) — to include the execution ID in the channel name - createUserQueue(…) — to include the execution ID in the queue label - commonAppSetup(…) — to include the execution ID in the channelNamePrefix and the intention is that it will be a unique identifier eventually used to link together everything to do with a given test method execution — e.g. for tagging log messages, labelling dispatch queues etc.
- Loading branch information
1 parent
21c3cdd
commit 11e469d
Showing
20 changed files
with
2,125 additions
and
1,350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
Represents an execution of a test case method. | ||
*/ | ||
struct Test { | ||
var id = UUID() | ||
private var function: StaticString | ||
|
||
init(function: StaticString = #function) { | ||
self.function = function | ||
NSLog("Created test \(id) for function \(function)") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.