Skip to content

Write Unit Tests for the AWS Service #21

Description

@oseghalep

Description:
The aws_service.go file contains critical logic for fetching and storing AWS costs. Write unit tests that mock the AWS SDK calls to ensure this logic is correct and robust.

Acceptance Criteria:

  • Mock the AWS Cost Explorer client.
  • Test the FetchAndStoreCosts function with various mock responses (success, empty data, errors).
  • Ensure tests run successfully with go test ./....

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions