@jepetko:
The reason why I was using a real database is the higher confidence when writing DynamoDB statements. I already experienced bugs related to bad statements even with passing tests because mocking/stubbing/spying was used instead of the memory DB.
@simlu:
Would be best combined with an in memory dynamodb instance for "integration" style tests.