🌱 The ultimate guide to unit and UI testing for beginners in Swift

Source
  • fake →has the same behavior as the thing that it replaces.
  • stub → has a “fixed” set of “canned” responses that are specific to your test(s)
  • mock → has a set of expectations for calls that are made. If these expectations are not met, the test fails.
  • spy → When you use a spy then the real methods are called.
Made by Brandon . If you find this project useful you can donate.