-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
FeaturehacktoberfestAn appropriate issue for HacktoberfestAn appropriate issue for Hacktoberfesttest
Description
tests should be implemented for:
- resourceExists methods
- create Stack
- update Stack
- pull stack
- push stack
- delete stack
proposed solutions
- Localstack is a local (self-hosted) copy of AWS cloud that can be used to test AWS services. https://github.com/localstack/localstack.
With localstack a stack can be created with torus, and then all of the resources can be tested using the resource exists method.
This should be implemented locally and in the CI/CD service (travis). - Test the resourceExists methods for an existing stack within our account (for example the stack for the torus.host site)
- Use aws-sdk-mock to mock the aws-sdk calls and assert for the method responses. https://www.npmjs.com/package/aws-sdk-mock
- A combination of these options
Metadata
Metadata
Assignees
Labels
FeaturehacktoberfestAn appropriate issue for HacktoberfestAn appropriate issue for Hacktoberfesttest