Unit Testing in Serverless - tutorial including DynamoDB

  Рет қаралды 15,794

Complete Coding - Master AWS Serverless

Complete Coding - Master AWS Serverless

4 жыл бұрын

In this video we'll learn about unit testing in Serverless and how we can also unit test interactions with AWS services such as DynamoDB
Code for starting this video:
github.com/SamWSoftware/Serve...
Code for completed Lesson
github.com/SamWSoftware/Serve...

Пікірлер: 33
@PeteWhelan
@PeteWhelan 4 жыл бұрын
Great video, thanks again Sam! Enjoyed this tutorial.
@shwenansuwai2481
@shwenansuwai2481 4 жыл бұрын
Love your channel. Thank you for the lessons.
@flaviomovil
@flaviomovil 2 жыл бұрын
Thanks for this video Sam!! Was great! :) help me a lot!
@0301311
@0301311 3 жыл бұрын
Testing for S3 is missing !
@JeanYvesP
@JeanYvesP 4 жыл бұрын
That is another great video!
@neosarchizo
@neosarchizo 4 жыл бұрын
Thanks for good video again!
@PeteWhelan
@PeteWhelan 4 жыл бұрын
Note to anyone using this tutorial having problems running Jest:
@2ederson
@2ederson 3 жыл бұрын
Hi! Quick question, using this same code or a similar one, If I wanted to use jest testing WITHOUT mocking the Database, using the real DynamoDB, does the configuration change or any additional changes to perform? I'm currently trying to make a change in the project, from having the DynamoDB configuration in Handler to a proper Dynamo.js file, but I seem to get the error: UnrecognizedClientException: The security token included in the request is invalid.
@JorgeNunez22
@JorgeNunez22 3 жыл бұрын
Why Skipped the S3 unit tests???
@davidwalters76
@davidwalters76 3 жыл бұрын
basically all your vids 👍
@karthikr7038
@karthikr7038 3 жыл бұрын
I am getting error while executing jest with @shelf/jest-dynamodb added in jest.config.js file.
@shahidabbas2932
@shahidabbas2932 2 жыл бұрын
Hi, Sir i want to contact you .
@dhanwadc
@dhanwadc 4 жыл бұрын
First view
@karthikr7038
@karthikr7038 3 жыл бұрын
java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
@adityanair3566
@adityanair3566 Жыл бұрын
Dynamo intialisation file is written in TS. To compile ts file in jest, I read you need to include 'ts-jest' as preset. But to use dynamo
How to write Integration Tests for Serverless AWS Endpoints - API Gateway and Lambda Guide with Jest
33:04
Complete Coding - Master AWS Serverless
Рет қаралды 16 М.
Unit Testing with JEST in 80 Minutes - CRASH COURSE (NODE JS)
1:17:33
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 24 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 54 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 41 МЛН
Serverless Framework with AWS Lambda Crash Course
1:29:11
Laith Academy
Рет қаралды 109 М.
Serverless Offline for testing on your local machine. Tutorial with DynamoDB
18:16
Complete Coding - Master AWS Serverless
Рет қаралды 35 М.
AWS CDK testing with TypeScript and Jest - full course
42:17
Concise Developer
Рет қаралды 2,2 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
Lambda layers with Serverless Framework and good practices | Serverless
15:21
Testing Serverless Functions with Jest & Next.js API Routes
20:30
Unit-testing your AWS Lambda functions in Go
45:37
Serverless Land
Рет қаралды 6 М.
7 Common DynamoDB Patterns for Modeling and Building an App with Alex De Brie
1:11:16
Mocking Asynchronous Functions with Jest
21:50
Swashbuckling with Code
Рет қаралды 67 М.