Test::DatabaseRow again

2shortplanks on 2004-03-26T17:50:49

Just released a new version of Test::DatabaseRow. This copy's been bouncing around the Fotango CVS server for a couple of weeks now and seems okay; I just got the co-maintainance flag from Profero so I can continue to develop it.

The changes allow you to get at the results extracted from the database aafter Test::DatabaseRow after row_ok has executed. I'm not sure if I like this interface at all, but darn it, it is practical and saves you having to drop back to using the straight dbi when you just want to do that little bit more complicated test.

I had a thought about allowing Test::DatabaseRow to have munging functions to munge all values extracted before they're compared. For example, using OpenTDS with a MSSQL database you get back strings that are space padded and it'd be nice to be able to munge them to strip the extra spaces at the end of strings.

That'll have to wait to the next release.