Don't we need documentation before writing tests so that we know what
behavior to expect? Last time I checked, there was not much
documentation in handler.h. Also, how do you test an API on its own
without a storage engine behind it? It would be useful to have a
regression test framework for storage engines. The MySQL regression
test framework (mysql-test) is hardwired so that MyISAM and InnoDB get
most of the attention. Authors of new storage engines are out of luck.
On Wed, Jun 25, 2008 at 10:51 PM, Amit k. Saha <amitsaha.in@stripped> wrote:
> Hello all,
>
> Has there been any efforts so far to test the Storage Engine API?
>
> A more detailed version of my query:
>
> The Storage Engine API is defined by the "sql/handler.h" file. Various
> storage engines implement all or some of them to suit their specific
> needs. That way, some of the API calls might not have been tested at
> all. Has there been any efforts to actually test all the API calls in
> some way? Please note that I am talking about the API *not* the SEs
> themselves.
>
> Comments appreciated.
>
> Thanks a lot.
>
> --Amit
>
> --
> Amit Kumar Saha
> http://blogs.sun.com/amitsaha/
> http://amitksaha.blogspot.com
> Skype: amitkumarsaha
>
> --
> MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe: http://lists.mysql.com/internals?unsub=1
>
>
--
Mark Callaghan
mdcallag@stripped