Quoting João Henrique Freitas <joa...@gmail.com>:

> Following your idea, the hashes table can be used to set up a default
> value to test? This will simplify the things.
>
> Currently some tests need to know the returned value of database and
> assert this with the tests value. Using a hash table, the values can
> stay in one point. This way is more convenient to maintain.
>
> What you think?
>

This would be a logical next step. All we need to do is to add  
accessor functions to retrieve the expected values by field name and  
by id, and to modify the existing accessor functions (the current math  
assumes 4 strings per row, then we'd have 5). Please let me know if  
you want to do this. Otherwise I'll attempt to extend the hashes and  
fix the accessors tonight.

regards,
Markus


-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
libdbi-devel mailing list
libdbi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-devel

Reply via email to