Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.08 KB

File metadata and controls

48 lines (39 loc) · 1.08 KB

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/sz3jdii/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.