ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


project:unittests

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
project:unittests [2025/07/29 03:41] mnewnhamproject:unittests [2025/08/01 00:37] (current) mnewnham
Line 21: Line 21:
 </code> </code>
  
 +==== Blob Section ==== 
 +This section must be defined, either with the path name to a binary file, such as a jpeg file that can be used for read-write testing. If set to false, all blob tests are skipped.
 +
 +<code>
 +[blob]
 +testBlob=c:/temp/someJpeg.jpg
 +</code>
  
 ==== Driver Section ==== ==== Driver Section ====
Line 45: Line 52:
 |parameters|To set parameters normally set by ''setConnectionParameter()'', create a string in format **key=value;** Note that the parameters cannot be defined as constants, you must use the numeric or string equivalents|  |parameters|To set parameters normally set by ''setConnectionParameter()'', create a string in format **key=value;** Note that the parameters cannot be defined as constants, you must use the numeric or string equivalents| 
 |active|If a run-time parameter of the driver is not passed of the PHPunit version > 9, then the test is run against the first driver where the active flag is set to true| |active|If a run-time parameter of the driver is not passed of the PHPunit version > 9, then the test is run against the first driver where the active flag is set to true|
 +
 +==== Meta Section ====
 +Unless explicitly enabled, the test to create new database using the //**createDatabase**// method is skipped as it requires CREATE DATABASE privilege on the DBMS. To enable this test, set the following section:
 +
 +<code>[meta]
 +skipDbCreation=0
 +</code>
 +
  
 ==== Caching Section ==== ==== Caching Section ====
project/unittests.1753753287.txt.gz · Last modified: by mnewnham