Time traveling in Swift unit tests
Writing tests against code that relies on dates can be tricky. In this short post, John Sundell looks at how we can test such code in a simple and fun way, based on what he calls "time traveling".
Posted on April 28, 2017 |
← Previous Post
Next Post →