Gio Lodi 11/27/2018

Test doubles in Swift: dummies, fakes, stubs, and spies.

Read Original

This technical article details the concept of test doubles in Swift, categorizing them as dummies, fakes, stubs, and spies. It explains each type's purpose with Swift code examples, such as using a dummy as a placeholder or a stub to control test inputs, to improve communication and precision in software testing.

Test doubles in Swift: dummies, fakes, stubs, and spies.

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes