sul-dlss-deprecated / dataOps

data operations ("dataOps") repo for issue queues & any version-controlled documentation
1 stars 1 forks source link

what testing where? #40

Open cmharlow opened 6 years ago

cmharlow commented 6 years ago

From @cmh2166 on December 13, 2017 0:47

what parts of this service should we test? where? how? AWS staging? unit tests locally? other? combination?

Copied from original issue: sul-dlss-labs/identifier-service#4

cmharlow commented 6 years ago

From @eefahy on December 13, 2017 18:6

https://serverless.zone/unit-and-integration-testing-for-lambda-fc9510963003 http://blog.futilitymethod.com/unit-testing-boto3-aws-sdk-python/

cmharlow commented 6 years ago

boto3 is used within the serverless framework, and otherwise, i think all the recommendations within these articles are already present in existing testing work.

cmharlow commented 6 years ago

do we see ways these can help us answer the questions at hand though? i think what is implied via the selection of articles (though they don't touch on this themselves, they're pretty low level) is that we are only performing unit tests on lambdas locally. It doesn't seem to answer questions about integration testing, where (locally? AWS staging account? other?).