Skip to content

Add unit tests #721

@kayman-mk

Description

@kayman-mk

Currently we provindig a few lamba's as part of the module. However the code is simple, it is good practice to have unit tests. Unit helps to check the code in isolation, without the need to deploy the lambda. Unit test will help to check dependency changes and PR in an automate way.

I think we should setup tests with pytest to test the Lambda's in isolation, including expection behavior. Calls to external API's such as AWS SDK (via boto3). can be mocked. Test should focus on checking the internal behaviror.

Unit tests for the module are still missing and would improve the quality of the project. #632 already started to implement tests.

Things to test:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions