pull down to refresh

Stubs are controllable implementations of dependencies that return predefined responses.

Isolate your code from external dependencies:

  • Databases
  • APIs
  • External services.

So you can focus on testing the behavior of your code.

https://m.stacker.news/30622