doctrine-test-bundle
auditor-bundle
doctrine-test-bundle | auditor-bundle | |
---|---|---|
5 | 3 | |
1,051 | 372 | |
- | - | |
7.0 | 6.8 | |
4 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
doctrine-test-bundle
-
Just started with Symfony after Laravel, and wanted to ask you guys, how to use database in testing, like in Laravel with Factories for generating own data for each test and database trait for purging data after each test?
If you want to reset the state of the database after each test: https://github.com/dmaicher/doctrine-test-bundle
-
How do you setup a database for testing with Symfony and Docker?
I use my development database connection and the DAMA Doctrine test bundle, it rollbacks everything between tests.
-
Tips for testing the database in Symfony application
👉 Enable the PHPunit listner in phpunit.xml.dist: example for php7.4, more config info
-
Functional testing optimization
Aaaaand that's one of the reasons for which I developed https://github.com/facile-it/paraunit years ago and I use https://github.com/dmaicher/doctrine-test-bundle...
-
Vimeo Engineering: The great pretender – faster application tests with MySQL simulation
It's similar to Paratest that Laravel is now using, but on itself it doesn't solve the DB issue, so I first wrote an adhoc solution, then I discovered this great package: https://github.com/dmaicher/doctrine-test-bundle
auditor-bundle
- similar bundle / approach to laravel-activitylog
-
Symfony : looking for good/best practice about the rollback of values of an entity modified by an user
You might look at this audit bundle. It does what you're looking for.
- Build an audit log for your Symfony app with Doctrine events
What are some alternatives?
paraunit - Run PHPUnit tests in parallel
Part-DB-server - Part-DB is an Open source inventory management system for your electronic components
gh-ost - GitHub's Online Schema-migration Tool for MySQL
Symfony-RDM - Helps with the use of domain driven design & rich domain model in symfony / doctrine applications.
maxwell - Maxwell's daemon, a mysql-to-json kafka producer
phpunit-injector - Injects services from a PSR-11 dependency injection container to PHPUnit test cases
Symfony - The Symfony PHP framework
msgphp - Reusable domain layers. Shipped with industry standard infrastructure.
Doctrine Extensions - Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
laravel-activitylog - Log activity inside your Laravel app