./databases/p5-DBD-Mock, Perl5 module with mock database driver for testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.59nb3, Package name: p5-DBD-Mock-1.59nb3, Maintainer: pkgsrc-users

Testing with databases can be tricky. If you are developing a system
married to a single database then you can make some assumptions
about your environment and ask the user to provide relevant connection
information. But if you need to test a framework that uses DBI,
particularly a framework that uses different types of persistence
schemes, then it may be more useful to simply verify what the
framework is trying to do -- ensure the right SQL is generated and
that the correct parameters are bound. DBD::Mock makes it easy to
just modify your configuration (presumably held outside your code)
and just use it instead of DBD::Foo (like DBD::Pg or DBD::mysql)
in your framework.


Required to run:
[databases/p5-DBI] [lang/perl5]

Required to build:
[devel/p5-Module-Build]

Master sites: (Expand)

Filesize: 73.763 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:10:08 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
   2021-10-24 10:44:18 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 1.59

Upstream changes:
1.59 2021-02-22T13:25:52Z
    - Added error detection for when a result set's callback doesn't return
      an arrayref or arrayrefs
    - Moved to GitLab for issue tracking

1.58 2020-11-02T13:34:48Z
    - Added the ability for mock result sets to set custom attributes for
      statement handles. Thanks to Erik Huelsmann for testing the new feature.
   2021-10-07 15:35:53 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Remove SHA1 distfile hashes
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-09-20 09:09:17 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-DBD-Mock: update to 1.57.

1.57 2020-09-18T06:57:48Z
    - Fixed bug rt133358 t/016_mock_add_resultset_test.t fails (with older DBI)

1.56 2020-09-17T14:35:10Z
    - The DBD::st module now supports the last_insert_id method
    - Result sets with callbacks can now specify a last_insert_id