macpaw / behat-orm-context
Behat Context for testing Symfony ORM
Package info
github.com/MacPaw/behat-orm-context
Type:symfony-bundle
pkg:composer/macpaw/behat-orm-context
v2.0.0
2026-03-30 10:12 UTC
Requires
- php: ^8.1
- ext-json: *
- behat/behat: ^3.0
- doctrine/orm: ^2.0 || ^3.0
- macpaw/similar-arrays: ^1.0
- symfony/config: ^6.4 || ^7.0 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.0 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.0 || ^8.0
- symfony/yaml: ^6.4 || ^7.0 || ^8.0
Requires (Dev)
- phpstan/phpstan: ^2.0
- phpstan/phpstan-doctrine: ^2.0
- phpunit/phpunit: ^10.5 || ^11.0
- rector/rector: ^1.0 || ^2.0
- slevomat/coding-standard: ^8.0
- squizlabs/php_codesniffer: ^4.0
This package is auto-updated.
Last update: 2026-03-30 10:15:16 UTC
README
| Version | Build Status | Code Coverage |
|---|---|---|
main |
||
develop |
Behat context for testing Doctrine ORM integration.
Description
This bundle provides a Behat context for testing your application's interaction with a database using Doctrine ORM.
Installation
See the installation instructions.
Features
The bundle provides several Behat step definitions for ORM testing:
- See X entities in repository - Check if the count of entities in the repository matches expected
- See entity with ID - Check if an entity with a specific ID exists
- See entity with properties - Check if an entity with specific properties exists
License
This bundle is released under the MIT license. See the included LICENSE file for more information.