Hacker News new | past | comments | ask | show | jobs | submit login

A testcontainer could be useful. I use always this adobe-mock from s3 for my test. Hmm.





I was not aware of testcontainer until you just mentioned it! I have a very basic Dockerfile for deploying to fly.io. What/how would I get started?

It looks like localstack is a supported testcontainer and they do support SQS (but I haven't tried it myself.)


Hmm, i never provided a testcontainer myself, but i have used docker images in a testcontainer. That is pretty straight-forward.

The specialized testcontainers just pass down or expose more config parameters, imho, because they possess more knowledge about the docker container that it is about to start. For SQS i could imagine, that it is convenient to expose uri or arn or even auth parameters, that one then can refer to when setting up tests with dynamic config parameters and to setup the sqs client.

Localstack i have not used so far. I use containers often for database tests also.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: