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

New Test Pattern for Unit Testing in Cloud-Nuke #494

Closed
james03160927 opened this issue Jul 10, 2023 · 1 comment
Closed

New Test Pattern for Unit Testing in Cloud-Nuke #494

james03160927 opened this issue Jul 10, 2023 · 1 comment

Comments

@james03160927
Copy link
Contributor

It seems like we are creating various AWS resources on cloud for unit testing. This approach works but it incurs additional cost and we see quite a lot of transient issues (e.g., QuotaLimit, Timeout, ...). We might want to try switching to this recommendation where we use mock implementation to test the behaviour we want - https://aws.amazon.com/blogs/developer/mocking-out-then-aws-sdk-for-go-for-unit-testing/.

@james03160927
Copy link
Contributor Author

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