In-memory SQS For Unit Testing

Image for post
Image for post
Photo by Levi Jones on Unsplash

If you need an in-memory, functional SQS client during unit tests you can now use

Getting Started

Wherever you pass around an SQS client in your application, you should use the sqsiface.SQSAPI interface.

Supported Functionality

You can view the specific implementation details in the godoc documentation.


See the documentation for Queue for more information.

Simulating HTTP Latency

Written by

I’m a data nerd and TDD enthusiast originally from Sydney. Currently working for Uber in New York. My thoughts here are my own. 🤓

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store