Skip to content

Custom Binaries / Tests

Compare
Choose a tag to compare
@drfraker drfraker released this 27 Sep 23:51
· 9 commits to master since this release
  • 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