Testing
Swift Testing execution model
In a suite written with Swift Testing, several tests write to and read from the same file path and fail intermittently. What's the most fundamental fix?
Pick one
Swift Testing execution model
In a suite written with Swift Testing, several tests write to and read from the same file path and fail intermittently. What's the most fundamental fix?
Pick one
TestingShort answerBasics
How do you test an async/await API in a unit test?
#swift-testing
TestingMultiple choiceAdvanced
Which of the following cause flaky tests that fail only sometimes on CI? Select all that …
#shared-state
TestingShort answerAdvanced
How is Swift Testing different from XCTest?
#swift-testing
TestingMultiple choiceBasics
Which statements about Swift Testing's #expect and #require are correct? Select all that …
#swift-testing