Getting started with testing DynamoDB code in Python

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Moto

    A library that allows you to easily mock out tests based on AWS infrastructure.

  • The Python package moto bundles mocks for many AWS services, including DynamoDB. The DynamoDB mock behaves mainly like the service - we can create tables, add data, query data, remove data, and much more. Not all features are supported, though - the documentation lists the available API calls. We can use this in combination with pytest to create a simple test setup.

  • aws-blog.de-projects

    Projects and examples for https://www.tecracer.com/blog

  • Next, we'll begin by creating a demo project that we will test. I'm opting for a simple Lambda function that accepts an event, queries some data from DynamoDB, and stores an aggregate in DynamoDB. The general idea is to include a few ways of accessing DynamoDB to see how we can test them. This is what our project structure looks like (you can find all of the code on Github):

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Class Credentials does not exist

    1 project | /r/PHPhelp | 9 Jul 2023
  • Unit testing Athena ETL?

    1 project | /r/aws | 16 Mar 2023
  • Looking for resources for building unit testing for boto3 code and mocking AWS services in pytest

    1 project | /r/dataengineering | 27 Feb 2023
  • Guide to AWS Serverless & Lambda Testing Best Practices — Part 1

    2 projects | dev.to | 27 Feb 2023
  • Mock AWS Services on Docker

    1 project | /r/docker | 26 Feb 2023