title: DynamoDB and Unit Testing .NET core
body: <p>We are implementing DynamoDB data store. For our unit tests we have got that covered for Web.API, services, repository layers. However, I have not found any mocking frameworks/unit test for DynamoDB for .NET Core, only to implement the local DynamoDB (<a href="https://aws.amazon.com/blogs/aws/amazon-dynamodb-libraries-mappers-and-mock-implementations-galore/" rel="nofollow noreferrer">https://aws.amazon.com/blogs/aws/amazon-dynamodb-libraries-mappers-and-mock-implementations-galore/</a>) Amazon indicates that it's best to run the local instance (Dynamo Local), however, this is not ideal for us, since we have Azure dev-ops pipelines in place. This causes other issues,like deleting tables for each test run, making sure the local db instance is running etc.</p>
  
  <p>I was thinking of extending the DynamoDBclient, DynamoContext etc and then use these to simulate, however, this seems like a lot of work and I am not sure if it is worthwhile. Can anyone suggest an easier alternative or have come across a framework, or implemented a good unit testing framework for DynamoDB for .NET Core. We really don't want to go down the path to use the local DynamoDB on our build server. </p>
  
  <p>Thanks in advance.</p>