Click here to get back home

ANNOUNCE: Test::MockDBI v0.61

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ANNOUNCE: Test::MockDBI v0.61 Mark Leighton Fisher 02-03-2005
Posted by Mark Leighton Fisher on February 3, 2005, 9:39 am
Please log in for more thread options
Test-MockDBI v0.61 is wending its way through CPAN as you read this.
Test-MockDBI enables testing of DBI code by letting you set up rules
for how the DBI behaves, without having to touch a database.
Test-MockDBI mocks up the DBI interface behind your code's back, so
your code does not need to know anything about the use of Test-MockDBI.

The big changes are:
* Added support for DBI methods bind_columns(), do(), and rows().
* List-returning fetch*() functions now return the empty list when
done.
* DBI::fetchrow() was corrected to return an array.


All changes are:

0.61 Thu Feb 3 09:28:49 EST 2005
- Fixed version number in README.
- Fixed copyright dates in README.
- Moved test DBD setup to samples/DBD-setup.pl
from samples/sample.pl.

0.60 Thu Jan 27 17:18:47 EST 2005
- Added DBI::do() and DBI::rows().
- DBI::bind_columns() now works, rather than only
pretending to work.
- DBI::fetchrow() was corrected to return an array.
This function is so old, it is no longer documented
in the main DBI docs.
- The list-returning DBI fetch*() functions now
return an empty list when set_retval_array() gives
them an empty list or no list.
- A list consisting of 1 undef element is now
returned as such by the list-returning DBI
fetch*() methods.
- README now talks a little about the testing
configuration file, DBI.cfg.
- NOTE: The Perl Cookbook, 2nd Edition, recipe 10.10
has a good explanation of list/array return values :).
====================================================
Mark Leighton Fisher mark-fisher@fisherscreek.com
http://www.fisherscreek.com/
"Reality is that which, when you stop believing
in it, does not go away." Philip K. Dick



Similar ThreadsPosted
ANNOUNCE: Test::MockDBI v0.50 January 19, 2005, 9:10 am
[ANNOUNCE] Test::MockRandom 0.92 December 23, 2004, 7:49 am
[ANNOUNCE] Test::Float -- compare numbers to specified precision December 26, 2004, 4:20 pm
Test::Pod problems March 3, 2007, 1:04 am
test fails May 10, 2008, 1:17 pm
Asking questions in 'make test' July 27, 2004, 12:55 am
'make test' strangeness ? August 18, 2004, 4:10 am
Start server for test ? May 16, 2005, 12:52 pm
GD make test problem November 23, 2004, 6:32 am
GD make test failure January 16, 2005, 5:11 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap