tarantool/phpunit-extras
A collection of PHPUnit helpers for testing Tarantool libraries, with Tarantool-specific annotations, request and prepared-statement expectations, mocking utilities, and a configurable annotation extension. Based on rybakit/phpunit-extras.
EVALUATE requests, space operations) with minimal boilerplate.#[RequiresTarantool('^2.3.2')]).#[DataProvider], #[Group]) — no mixing of annotation and attribute styles.require-dev only).@lua, @sql, @requires Tarantool ^x.y.z). All of these are removed and replaced by attributes in v0.3.0 — budget a mechanical-but-project-wide refactor of every Tarantool test file.TestCase or configure PHPUnit extensions.For Executives: "This package lets our PHP team test Tarantool integrations faster and more reliably. By using modern PHP attributes and mock clients, we can validate database logic—like caching layers or real-time queries—without spinning up expensive Tarantool instances for every test. The new 0.3.0 release shows the project is actively maintained and current with PHP 8.2 and PHPUnit 10, which de-risks the 'abandoned dependency' concern we flagged before. It reduces bugs in production and accelerates delivery for data-heavy roadmap items like [X feature]. The MIT license and dev-only footprint keep operational overhead low — the cost is a one-time test-suite migration to attributes, not a runtime change."
For Engineering/DevOps: *"v0.3.0 is a breaking upgrade, but a straightforward one:
@lua / @sql setup and @requires Tarantool ^2.3.2 are gone — the equivalents are now PHP attributes, so tests match the PHPUnit 10 idiom (#[DataProvider], #[Group]). Mechanical migration across test files, no runtime path changes.composer.json before bumping; if any service is still on 8.1, do the PHP upgrade first or pin to 0.2.x deliberately.For QA/Testing Teams: *"This package cuts test development time for Tarantool by:
expectSelectRequestToBeCalledOnce()) to ensure your PHP code interacts with Tarantool as expected.How can I help you explore Laravel packages today?