Skip to content

soupdevsolutions/rust-moto-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using moto from Rust to mock AWS calls

This shows an example on how to use moto in server mode and use it for testing purposes from Rust applications.
You can read the full article here.

Usage

To start the moto server, run:

docker run --rm -p 5000:5000 -d --name moto motoserver/moto:latest

Then, you can test your application normally by running:

cargo test

Finally, stop the Docker container by running:

docker stop moto

About

Using moto from Rust to mock AWS calls

Resources

Stars

Watchers

Forks

Languages