Swift Testing against XCTest
How is Swift Testing different from XCTest?
How is Swift Testing different from XCTest?
Swift Testing declares tests with the @Test and @Suite macros instead of ObjC runtime discovery, and gives you #expect and #require, arguments: parameterization, tags and traits, parallel execution by default, and a fresh struct instance per test.
TestingMultiple choiceBasics
Which statements about Swift Testing's #expect and #require are correct? Select all that…
#swift-testing #macros
TestingShort answerIntro
A teammate says they'd rather build one more feature than spend the time writing tests…
#xctest
TestingMultiple choiceIntro
Which conditions does a method need before XCTest recognizes and runs it as a test?…
#xctest
TestingShort answerBasics
How do you test an async/await API in a unit test?
#swift-testing