Skip to content

This is a simple project showing how to test Lambda functions with different approaches.

License

Notifications You must be signed in to change notification settings

amswiatkowski/testing-lambda-functions

Repository files navigation

Testing Lambda functions

Lambda testing architecture diagram



Description

This is a simple project showing how to test Lambda functions with different approaches.

Prerequisite

  • Docker
  • AWS CDK CLI
  • AWS CLI
  • node.js
  • Python 3.12
  • Poetry

Quick start

  1. Clone the repo
    git clone https://github.com/amswiatkowski/testing-lambda-functions.git
  2. Install dependencies
    poetry install
  3. Deploy the project
    ./deploy.sh

Useful commands

  • ./lint.sh Fixes indents and checks your code quality
  • ./destroy.sh Triggers cdk destroy
  • ./deploy/sh Deploys stack to the AWS account
  • pytest -vv ./tests Run tests

Useful links

Author

Adam Świątkowski

License

Copyright © 2023, Adam Świątkowski. Released under the MIT License.

About

This is a simple project showing how to test Lambda functions with different approaches.

Resources

License

Stars

Watchers

Forks