Author: timbo
Date: Sun Jul 25 11:17:19 2004
New Revision: 411
Modified:
dbi/trunk/ToDo
Log:
assorted tweaks to ToDo
(I plan to restructure this into an ordered plan for v2.0 soon)
Modified: dbi/trunk/ToDo
==============================================================================
--- dbi/trunk/ToDo (original)
+++ dbi/trunk/ToDo Sun Jul 25 11:17:19 2004
@@ -24,6 +24,7 @@
Increase size of com struct (requires driver rebuild)
and improve size sanity checks.
+Reconsider clone() API
--- Additions and other changes visible to applications:
@@ -87,6 +88,11 @@
Add function pointer for setting fetched field values into DBIS.
Drivers would use this instead of calling sv_setpv (etc) themselves.
+Add log_where() to "trace level set to" log message.
+
+Add "imp_xxh_t* imp_xxh;" element to com struct that points back at
+itself so macros can be written to work with imp_??h without needing casts.
+
Add bind_col($n, \$foo, { OnFetch => sub { ... } });
Add way to specify default bind_col attributes for each TYPE
@@ -451,3 +457,14 @@
Record attrib STOREs so can be replayed (or use subclass?)
+--- Test suite (random thoughts beyond the basic architecture in my head)
+
+one test file = one scenario setup (fixture)
+random order of subtests
+cleanup (destroy all data, disconnect etc)
+leak detection after cleanup
+repeat tests with different data types (implies changing fixtures?)
+test with overloaded and other kinds of 'magical' values
+Good to have 'behavior' tests were the outcome is noted but doesn't trigger failure
+e.g. limitation tests: data values out of range, eg truncation, may or may not
+cause an error depending on the database.