Test::WebService::Amazon::DynamoDB - functions for testing the DynamoDB code
version 0.001
Mostly intended as convenience functions for the WebService::Amazon::DynamoDB::Server test suite.
Runs a block of code with a custom WebService::Amazon::DynamoDB::Server instance.
Primarily intended as a visual aid to allow setting up the test spec:
my $srv = ddb_server { add_table name => 'xyz', ...; expect_events { put_item => 3, get_item => 4, describe_table => 1 } }; ...
Returns that instance when done.
Adds the given table spec.
Indicates that we're expecting certain events to fire.
expect_events { create_table => 7, delete_table => 2, put_item => 5 }
Tom Molesworth <cpan@perlsite.co.uk>
Copyright Tom Molesworth 2013-2015. Licensed under the same terms as Perl itself.
To install WebService::Amazon::DynamoDB::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Amazon::DynamoDB::Server
CPAN shell
perl -MCPAN -e shell install WebService::Amazon::DynamoDB::Server
For more information on module installation, please visit the detailed CPAN module installation guide.