Test the sort order of binary range key in Dynamo
Mix in this trait if you want to write a spec that depends on DynamoDB and want to optionally spin up a local DynamoDB.
Mix in this trait if you want to write a spec that depends on DynamoDB and want to optionally spin up a local DynamoDB.
To use it, extend this trait, specify (val arguments: org.specs2.main.Arguments) as an argument to your spec class, and add steps to your spec to call startLocalDynamoDB and stopLocalDynamoDB at the appropriate times.
You can also optionally override various command line argument names to configure the spec.
In this example, we want two longs to be sorted by a first followed by b.
In this example, we want two longs to be sorted by a first followed by b. We assume these are positive only
because Dynamo does sorting by treating each byte as unsigned number.
Taken from Argonaut argonaut.Data because argonaut test isn't published.