DistributedScience / Distributed-Something

Run encapsulated docker containers that do... something in the Amazon Web Services infrastructure.
https://distributedscience.github.io/Distributed-Something
Other
7 stars 3 forks source link

Create test suite #26

Closed gnodar01 closed 1 year ago

gnodar01 commented 1 year ago

Mock AWS services with moto.

We'll need to cross reference AWS functions we use with those implemented in moto.

It may be worth doing the tests as a separate repo so that users who use the Distributed-Something template don't get all of the test suite things.

ErinWeisbart commented 1 year ago

The boto3.client functions we use. Most of them are in Moto:

We also use a few boto3.resource('sqs') here and I'm not sure I understand how to tell if they're covered..

gnodar01 commented 1 year ago

Yeah, looks like they're not documented in the list, but sqs.get_queue_by_name is used here in moto's own tests, so I guess it's covered as well.

gnodar01 commented 1 year ago

Not yet ready, but the testing suite is being built in Distributed-Testing