# README
aws-mockery

aws-mockery is a program which uses the mockery API to generate implementations of selected aws-sdk-go service interfaces.
Currently only aws-sdk-go version 1.x
is supported.
Use Case
Asserting that dependent code interacts with the service APIs as expected, but without the cost (and feedback fidelity) of making real requests to the service.
Usage
To install:
go get -v github.com/codeactual/aws-mockery/cmd/aws-mockery
Examples
Display help:
aws-mockery --help
Output mock implementations for KMS, Route53, and SNS:
aws-mockery --out-dir /path/to/mocks --sdk-dir /path/to/github.com/aws/aws-sdk-go --service=kms,route53,sns
--service
expects a comma-separated list of identifiers, e.g.ec2
, which must be a directory name from the SDK's service directory.
Development
License
Mozilla Public License Version 2.0 (About, FAQ)
Contributing
- Please feel free to submit issues, PRs, questions, and feedback.
- Although this repository consists of snapshots extracted from a private monorepo using transplant, PRs are welcome. Standard GitHub workflows are still used.
# Packages
No description provided by the author