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

First step to testing aws-checker #1

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

mumoshu
Copy link
Collaborator

@mumoshu mumoshu commented Jul 30, 2024

The long term goal is to mock out AWS calls and unit-test every code path in aws-checker.

Towards that, we extract Run(sigs) out of main and test Run without relying on signal.Notify. We can then make Run return an error, support dependency-injection for various AWS services/clients.

The long term goal is to mock out AWS calls and unit-test every code path in aws-checker.

Towards that, we extract `Run(sigs)` out of `main` and test `Run` without relying on `signal.Notify`.
We can then make `Run` return an error, support dependency-injection for various AWS services/clients.
@mumoshu mumoshu mentioned this pull request Aug 6, 2024
Copy link
Contributor

@cw-atkhry cw-atkhry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cw-atkhry cw-atkhry merged commit dc4c58d into chatwork:main Aug 7, 2024
@mumoshu mumoshu deleted the test-1st-step branch August 7, 2024 02:51
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

Successfully merging this pull request may close these issues.

2 participants