You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to provide high test coverage of the library code together with various supported dependencies while keeping the number of test jobs to the necessary minimum.
Types of Dependencies
PHP versions: Every supported minor version and nightly.
Database platforms and their versions (platform-specific, see below).
Composer packages: Lowest and highest versions.
Database Platform Versions to be Tested
The lowest and highest supported versions.
Intermediate versions for which there is a dedicated code path in the library.
LTS releases are preferred over non-LTS ones, even if the dedicated code path would be triggered by an older non-LTS version.
Proposed Pattern
Latest stable PHP version: Test all combinations with each supported driver and all respective database platform versions matching the above requirements.
Other supported PHP versions: Test with each supported driver and the latest version of the respective database platform.
SQLite drivers: Test with the lowest supported and latest stable PHP versions.
Composer dependencies:
Use the lowest Composer dependencies with the lowest supported PHP version and pdo_sqlite (our historical default driver).
Use the highest Composer dependencies in all other builds.
Code Coverage
Code coverage can serve as an indicator of over- or under-testing. If the removal of a job that uses some intermediate dependency version(s) does not result in a drop in code coverage, it means that no dedicated code path exists for this configuration. In such a case, it is a strong signal of that testing this configuration is unnecessary, and thus, we don't want to spend machine time testing it.
The text was updated successfully, but these errors were encountered:
The goal is to provide high test coverage of the library code together with various supported dependencies while keeping the number of test jobs to the necessary minimum.
Types of Dependencies
Database Platform Versions to be Tested
Proposed Pattern
pdo_sqlite
(our historical default driver).Code Coverage
Code coverage can serve as an indicator of over- or under-testing. If the removal of a job that uses some intermediate dependency version(s) does not result in a drop in code coverage, it means that no dedicated code path exists for this configuration. In such a case, it is a strong signal of that testing this configuration is unnecessary, and thus, we don't want to spend machine time testing it.
The text was updated successfully, but these errors were encountered: