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/08/03 04:27] – [Writing or Updating Tests] mnewnhamproject:unittests [2025/08/05 16:54] (current) – [Prerequistes] mnewnham
Line 4: Line 4:
  
 ===== Prerequistes =====   ===== Prerequistes =====  
-[[https://phpunit.de|PHPUnit]] Version 9 or higher must be installed to conduct the suite of tests.+  * PHP 8.0 or higher 
 +  * [[https://phpunit.de|PHPUnit]] Version 9 or higher must be installed to conduct the suite of tests. 
  
 ===== Setup ===== ===== Setup =====
Line 73: Line 74:
  
 ==== Caching Section ==== ==== Caching Section ====
-Unless explicitly enabled, cache functions such as //**CacheExecute()**// are skipped. Tests only currently support Filesystem based caching. To activate this, add the following section to adodb-unittest.ini: +Unless explicitly enabled, cache functions such as //**CacheExecute()**// are skipped. Tests are supported using Filesystem based or memcache based caching. To activate this, add the following section to adodb-unittest.ini: 
 +=== Filesystem === 
 <code> <code>
 [caching] [caching]
 cacheMethod=1 cacheMethod=1
 cacheDir=c:/dev/cache cacheDir=c:/dev/cache
 +</code>
 +
 +=== Memcache Based === 
 +<code>
 +[cache]
 +cacheMethod=2
 +cacheHost=192.168.1.50
 </code> </code>
  
project/unittests.1754188062.txt.gz · Last modified: by mnewnham