File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,14 +28,6 @@ The codebase is pure PHP with zero dependencies. It supports PHP 7.2 through 8.5
2828MySQL syntax from version 5.7 onward, and requires SQLite 3.37.0 or newer
2929(with legacy mode down to 3.27.0).
3030
31- ### New and old driver
32- At the moment, the project includes two MySQL-on-SQLite driver implementations:
33- 1 . A new, AST-based MySQL-on-SQLite driver (` class-wp-pdo-mysql-on-sqlite.php ` ).
34- 2 . A legacy, token-based MySQL-to-SQLite translator (` class-wp-sqlite-translator.php ` ).
35-
36- This state is temporary. The new driver will fully replace the legacy one. New features
37- must always be implemented in the new driver. The legacy driver can receive small fixes.
38- The new driver is under a ` WP_SQLITE_AST_DRIVER ` feature flag, but it is widely used.
3931
4032## Commands
4133The codebase is written in PHP and Composer is used to manage the project.
@@ -54,10 +46,7 @@ composer run test # Run unit tests
5446composer run test tests/SomeTest.php # Run specific unit test file
5547composer run test -- --filter testName # Run specific unit test class/method
5648
57- # SQLite Database Integration plugin tests
58- composer run test # Run unit tests
59- composer run test tests/SomeTest.php # Run specific unit test file
60- composer run test -- --filter testName # Run specific unit test class/method
49+ # SQLite Database Integration plugin E2E tests
6150composer run test-e2e # Run E2E tests (Playwright via WP env)
6251
6352# WordPress tests
You can’t perform that action at this time.
0 commit comments