Unit-testing your AWS Lambda functions in Go

  Рет қаралды 5,973

Serverless Land

Serverless Land

Күн бұрын

In the second episode of Serverless Office Hours, I show you how to use dependency injection and pointer receiver functions to unit test your AWS Lambda functions in Go. I also compare performance test results of initializing dependencies in your main function versus your Lambda handler function.
Topics covered:
* (2:04) Installing the AWS SAM CLI - docs.aws.amazon.com/serverles...
* (2:23) Creating a SAM app - docs.aws.amazon.com/serverles...
* (4:00) Anatomy of an AWS Lambda function in Go - docs.aws.amazon.com/lambda/la...
* (11:11) Receiver functions and dependency injection - tour.golang.org/methods/4
* (14:00) Writing unit tests
* (31:05) Initializing AWS resources in func main() vs. func handler()
AWS products and services covered:
* AWS Lambda - aws.amazon.com/lambda/
* AWS SAM CLI - github.com/awslabs/aws-sam-cli/
Questions? My DMs are open! - / rts_rob
Rob Sutter, Sr. Developer Advocate, AWS Serverless

Пікірлер: 5
@bhavanabharatisingh4135
@bhavanabharatisingh4135 3 жыл бұрын
i am not able to pass map input from lambda . will you help u please
@dekooks1543
@dekooks1543 Жыл бұрын
this video is out of date since the v2 of the sdk does not provide the interfaces
@yogesnsamy3923
@yogesnsamy3923 4 жыл бұрын
Nice video. Could you please share the repo for our reference?
@thiagojoshua4635
@thiagojoshua4635 3 жыл бұрын
dunno if anyone gives a damn but if you're bored like me atm then you can stream pretty much all of the latest movies and series on Instaflixxer. Been watching with my girlfriend for the last weeks :)
@brettaryan821
@brettaryan821 3 жыл бұрын
@Thiago Joshua Yup, I've been watching on Instaflixxer for since november myself :)
AWS Step Functions: Workflows for development and testing
1:01:03
Serverless Land
Рет қаралды 8 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 67 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 33 МЛН
这是王子儿子吗
00:27
落魄的王子
Рет қаралды 20 МЛН
Introduction to AWS Lambda using Golang
24:26
Mathis Van Eetvelde
Рет қаралды 22 М.
Golang / Go Crash Course 04 | Unit testing our code by Mocking with Testify
31:41
Go + Microservices = Go Kit [I] - Peter Bourgon, Go Kit
38:49
CNCF [Cloud Native Computing Foundation]
Рет қаралды 102 М.
Unit Testing in Serverless - tutorial including DynamoDB
27:24
Complete Coding - Master AWS Serverless
Рет қаралды 15 М.
Develop Lambdas And Debug Them Locally Using SAM
52:03
ProgrammingPercy
Рет қаралды 3,4 М.
How To Test your AWS Lambda Locally with SAM
13:05
Be A Better Dev
Рет қаралды 88 М.
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,4 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 7 МЛН