What does "to stub" mean in programming?
Asked 07 September, 2021
Viewed 1.7K times
  • 63
Votes

For example, what does it mean in this quote?


  

Integrating with an external API is almost a guarantee in any modern web app. To effectively test such integration, you need to stub it out. A good stub should be easy to create and consistently up-to-date with actual, current API responses. In this post, we’ll outline a testing strategy using stubs for an external API.

11 Answer