macpaw / behat-orm-context
Behat Context for testing Symfony ORM
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- behat/behat: ^3.0
- doctrine/orm: ^2.0
- macpaw/similar-arrays: ^1.0
- symfony/config: ^4.4 || ^5.4 || ^6.0 || ^7.0
- symfony/dependency-injection: ^4.4 || ^5.4.34 || ^6.0 || ^7.0.2
- symfony/http-kernel: ^4.4 || ^5.4 || ^6.0 || ^7.0
Requires (Dev)
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^9.6
- slevomat/coding-standard: ^7.2
- squizlabs/php_codesniffer: ^3.12
This package is auto-updated.
Last update: 2025-05-19 14:08:12 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.