AWS S3 local server for integration testing

后端 未结 7 562
天命终不由人
天命终不由人 2020-12-30 23:29

I have some code that uploads and downloads files using AWS S3 (using the Java AWS SDK). I want to be able to write some tests for it, I was wondering if anyone has any good

7条回答
  •  难免孤独
    2020-12-30 23:47

    You can try localstack, which is an open source local AWS cloud stack made for testing. It provides implementations of several of AWS services, including S3.

    It looks like a very popular open source project on GitHub.

提交回复
热议问题