Skip to content

test: Add synchronous for SQLite3 tests - #1402

Merged
datamweb merged 2 commits into
codeigniter4:developfrom
neznaika0:fix/perf-sqlite3-tests
Nov 12, 2026
Merged

datamweb merged 2 commits into
codeigniter4:developfrom
neznaika0:fix/perf-sqlite3-tests

Conversation

@neznaika0

Copy link
Copy Markdown
Contributor

Description
Tests without specifying DB=* are run in SQLite3 memory. The config is taken from the framework.
As soon as we specify the DB=SQLite3 composer test, then the local config is applied.
For testing, synchronization is less important, but it slows down execution. Time 1:52 vs 00:24

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@neznaika0
neznaika0 force-pushed the fix/perf-sqlite3-tests branch from 8250c88 to ea77030 Compare November 11, 2026 10:43
Comment thread tests/_support/Config/Registrar.php Resolved
@datamweb datamweb added the testing Pull requests that changes tests only label Nov 11, 2026
@neznaika0
neznaika0 force-pushed the fix/perf-sqlite3-tests branch from ea77030 to 1fa075f Compare November 11, 2026 11:57

@datamweb datamweb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neznaika0 Thank you for your PR, and Congratulations on your first contribution.

@datamweb
datamweb merged commit 4a5a107 into codeigniter4:develop Nov 12, 2026
37 checks passed
@neznaika0
neznaika0 deleted the fix/perf-sqlite3-tests branch November 12, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Pull requests that changes tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants