Knowing when to use the require macro in Swift Testing
Learn how you can leverage the #require macro in Swift testing to make sure that pieces of state in your code are exactly what you expect at the right times.
See how #require is different from #expect, and in which cases each of these macros are a good choice.
If you prefer reading the contents of this video in a blog post, you'll find it right here: https://www.donnywals.com/testing-requirements-with-require-in-swift-testing?utm_source=youtube
Explore the #require vs #expect macros in Swift testing. Learn when and how to use them to verify state in your code. Watch the video to enhance your testing skills: https://www.youtube.com/watch?v=Pr6hEv9GRYY