Database/Drivers/MySQL Native/WhatWeHaveTested

From Apache OpenOffice Wiki
< Database‎ | Drivers‎ | MySQL Native
Revision as of 13:02, 7 January 2009 by Nixnutz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

"Ramdom" protocol of what has been tested


Currently we focus on "manual" testing: we create a database connection using the driver and try to cause issues in Base. Depending on the bug inflow rate we will decide on further automated tests.

Manually tested

  • All MySQL data types listed in the MySQL Reference Manual
    • test pattern: create table, add column of the type X, insert min/max/null value and check column attributes not null/default, check values in Base
      • define column type x - insert null
      • define column type x not null - insert min allowed value
      • define column type x default 0/1/"" or similar - insert max allowed value
      • define column type x default 0/1/"" or similar - don't insert any value
      • add a column of type x to the table using base
    • some issues exist when displaying meta data (see known issues page)
    • we should document the data type mappings for end users - its not always intuitive from a MySQL user perspective


Connector/ is a wrapper on top of the MySQL Connector/C++. About 400 API tests are run routinely on about 40 platforms to check the MySQL Connector/C++. The second alpha version of the driver does pass about 95% of the tests. Large parts of the tests are ported JDBC compliance tests.

Personal tools