Project Description

DynamoDB Stub is designed for test environment that cannot connect to AWS or it would greatly lower the performance of test execution if connects. It works as the replacement for the external service.

The data access layer has been abstracted as several interfaces that you can have your own implementation. Otherwise you can simply use the default EntityFramework implemenation included in this project.

After installing the package, you can create an instance of AmazonDynamoDBClient under the AmazonDynamoDBStub namespace with your own data access implementation as the constructor parameters. Or you can call AmazonDynamoDBStubFactory under the AmazonDynamoDBStub.EntityFramework to create an instance of the client in an easier way. This client implements AmazonDynamoDB interface built-in AWSSDK so that you can have the stub injected to your application through it. Be sure that the defaultConnectionFactory in App.config is configured properly after EntityFramework automatically installed into your project as the dependency of AmazonDynamoDBStub.EntityFramework.