Closed mboudreau closed 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.
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?
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.