mboudreau / Alternator

A mock DynamoDB that runs locally for testing purposes - DEPRECATED, PLEASE USE DYNAMODB LOCAL: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html
Apache License 2.0
78 stars 39 forks source link

Create Alternator Maven Plugin, Add to Maven Repo #15

Closed mboudreau closed 12 years ago

mboudreau commented 12 years ago

To make this easy to use on any project, we need to create a plugin that will start the Alternator service before the test starts and stops after they are done. After that's done, it will need to be submitted to a public maven repo.

mboudreau commented 12 years ago

Instead of having Maven Plugin, we're using Jetty to run the service locally within the test. This adds a lot more flexibility to what can be done with Alternator.

ingojaeckel commented 12 years ago

All I need to run my unit tests is (1) the real or (2) a (mocked) implementation of the AmazonDynamoDBClient[Async] interface. This implementation could just hold a representation of the current database state in memory. However, the Alternator code actually opens a port and communicates with the mocked Dynamo server using JSON.

For which scenario/use case are you doing that? Can you give examples for the flexibility this gives you?