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

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


Branch: CURRENT, Version: 1.49, Package name: p5-DBD-Mock-1.49, 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] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 593ed1de568d9d9171ff449f671da7a4de12d4bd
RMD160: fe264d5fc266eb6dd6dded703dd54f5fb227f087
Filesize: 67.665 KB

Version history: (Expand)


CVS history: (Expand)


   2019-09-14 21:58:31 by David H. Gutteridge | Files touched by this commit (1)
Log message:
p5-DBD-Mock: note p5-Module-Build-Tiny dependency

Fix bulk builds by noting this depends on p5-Module-Build-Tiny.
   2019-09-13 01:54:44 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.49

Upstream changes:
1.49 2019-09-12T12:59:51Z
    - Fixing tests that fail on some old versions of Perl

1.48 2019-09-12T06:34:47Z
    - Added execution_history feature to enable tracking of multiple
      executes for prepared statements.
    - Added support for $dbh->table_info calls
    - Fixed bug rt91055 "insert IGNORE" doesn't raise last_insert_id
    - Fixed bug rt82243 Bug with Regex in DBD::Mock::Session

1.47 2019-09-06T10:03:39Z
    - Applied Max Carey's patch from rt86294 adding support for
      nested keys to fetchall_hashref
    - Added experimental Connection Callbacks feature
    - Fixed build for Perl v5.8

1.46 2019-09-04T12:02:08Z
    - Added git-repo url to meta-data
    - Fixed bug rt70587 Spelling Mistake
    - Added regex support to mock_add_resultset
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 02:56:36 by Alistair G. Crooks | Files touched by this commit (368)
Log message:
Add SHA512 digests for distfiles for databases category

Problems found with existing distfiles:
	distfiles/D6.data.ros.gz
	distfiles/cstore0.2.tar.gz
	distfiles/data4.tar.gz
	distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.