Releases: drfraker/snipe-migrations
Releases · drfraker/snipe-migrations
Laravel 8 support.
update changelog
v1.3.2 Update CHANGELOG.md (#31)
Support custom binary paths based on env variables
Support custom binary paths based on env variables (#30) * Fix typo of var hint in SnipeMigrationsTest * Fix incorrect custom binary example case * Support custom binary paths based on env variables * Fix style issues in SnipeCustomBinaryTest * Decrease unit test scope for .env binary paths No need to spin up the whole thing just to see if the config reflects our changes * Don’t run tests twice in custom binary test class Moving the helper functions to the base test class we can now extend that one intead. Otherwise, all tests would have been executed twice. * Add custom binary path feature to CHANGELOG.md
Custom Binaries / Tests
- Add support for custom binary paths
Users can now configure the exact path to the mysql and mysqldump binaries for different kind of set ups.
-
Don't typehint the execute() method just yet
-
Fix style in snipe config
-
Add proper snipe test support
These changes now properly reset the application state before each test run, as well as adds a few helpful methods to deal with snipe internals.
-
Add test for checking for the migrate:fresh command
-
Add test to detect and reflect database changes
-
Fix style issues in SnipeMigrationsTest
-
Add test for custom binary prefixes
This uses a mockery extension package to overwrite the native “exec” method with a customizable mock.
- Fix style issues in SnipeMigrationsTest
Account for database seeders
This release adds the following features.
- Ability to seed the database before taking a snapshot
- Ability to update the snapshot when seed files have changed
Other minor code & formatting improvements.