Changes for version 0.24

  • added the reset() method to the DBD::Mock::Session object so that a session can be used more than once.
    • added tests for this
    • added docs for this
  • fixed a bug where the HASH version of 'mock_add_resultset' would consume the result sets and they would not be reusable. We now copy the result sets so that every time the statement is called the same results are returned
    • did not need to add docs for this, they already documented this as the behavior (hence calling this a bug)
    • added tests for this

Modules

Mock database driver for testing

Provides

in lib/DBD/Mock.pm
in lib/DBD/Mock.pm
in lib/DBD/Mock.pm
in lib/DBD/Mock.pm
in lib/DBD/Mock.pm
in lib/DBD/Mock.pm
in lib/DBD/Mock.pm