Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create testing strategy document for this project #3

Open
stark525 opened this issue May 27, 2021 · 0 comments
Open

Create testing strategy document for this project #3

stark525 opened this issue May 27, 2021 · 0 comments

Comments

@stark525
Copy link

Currently, there is an example test documented using a payload.json object, which is effectively an integration test.

It would be great to provide standards for testing cirrus tasks for development purposes, e.g. TDD.

I'm thinking we could have a middleware testing layer to mock SNS/SQS/workflow - and convert a cirrus object to STAC record. This will allow us to unit test the handler.

Also adding pytest as the unit test framework of choice and examples for testing other business logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant