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

add unit and e2e tests #36

Closed
wants to merge 19 commits into from
Closed

add unit and e2e tests #36

wants to merge 19 commits into from

Conversation

8naama
Copy link
Contributor

@8naama 8naama commented Jun 23, 2024

  • Move helper functions from main.go to handler.go in order to be able to test them
  • Add Unit tests
    • functions that use cloudwatch client are tested in the E2E test
  • Add E2E test

@8naama 8naama requested a review from yotamloe June 30, 2024 13:40
Copy link

@yotamloe yotamloe left a comment

Choose a reason for hiding this comment

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

Amazing job :) see my comments

tests/e2e_test.go Outdated Show resolved Hide resolved
@@ -0,0 +1,64 @@
package handelr

Choose a reason for hiding this comment

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

Typo: should be handler

eventbridge-lambda/handler/handler_test.go Outdated Show resolved Hide resolved
.github/workflows/tests.yaml Show resolved Hide resolved
.github/workflows/tests.yaml Outdated Show resolved Hide resolved
.github/workflows/tests.yaml Outdated Show resolved Hide resolved
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.

None yet

2 participants