IMAP-Science-Operations-Center / sds-data-manager

MIT License
0 stars 9 forks source link

Enhanced AWS Mocks #312

Open greglucas opened 2 days ago

greglucas commented 2 days ago

Summary

Currently, we are only doing basic mocks on individual components.

It would be nice to start doing more integration tests with the mocks and expanding our coverage without requiring us to go to AWS to test everything. A tricky end-to-end integration test would be (all locally):

We have simulated most of this individually, or with basic mocks. But I think we could take advantage of moto and mock the entire system out to some extent and verify the coupling of steps together, checking the database records as we go, etc...

Requirements

Starting simple (but still not easy) with s3 already being mocked and needing to integrate with batch.

Related tickets

No response