project:unittests
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project:unittests [2025/08/03 04:24] – [Writing Tests Section] mnewnham | project:unittests [2025/08/05 16:54] (current) – [Prerequistes] mnewnham | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Prerequistes ===== | ===== Prerequistes ===== | ||
- | [[https:// | + | * PHP 8.0 or higher |
+ | * [[https:// | ||
===== Setup ===== | ===== Setup ===== | ||
Line 73: | Line 74: | ||
==== Caching Section ==== | ==== Caching Section ==== | ||
- | Unless explicitly enabled, cache functions such as // | + | Unless explicitly enabled, cache functions such as // |
+ | === Filesystem === | ||
< | < | ||
[caching] | [caching] | ||
cacheMethod=1 | cacheMethod=1 | ||
cacheDir=c:/ | cacheDir=c:/ | ||
+ | </ | ||
+ | |||
+ | === Memcache Based === | ||
+ | < | ||
+ | [cache] | ||
+ | cacheMethod=2 | ||
+ | cacheHost=192.168.1.50 | ||
</ | </ | ||
Line 114: | Line 122: | ||
* Tests should be written to [[https:// | * Tests should be written to [[https:// | ||
* Wherever possible, write database agnostic tests. Only write driver specific tests when a feature is only supported by one or two DBMS | * Wherever possible, write database agnostic tests. Only write driver specific tests when a feature is only supported by one or two DBMS | ||
+ | * Only add driver specific tests to the test file specifically labeled for that driver, e.g. // | ||
+ | * Do not add driver-based code branches inside the generic test code | ||
project/unittests.1754187888.txt.gz · Last modified: by mnewnham