Blog

Drupal 8 and Behat tests

Adding automated tests to small or create-and-forget projects probably doesn't make sense. You will spend additional time writing those tests, and this will only increase the project's cost. And you will get almost nothing in return. But, if you are working on a project that will be maintained in the future and new features will be added on a regular basis, then you most certainly need to add automated tests.

dix (Database Import eXport)

dix is a simple console application that will make your life easier if you are working with MySQL databases. Let's say that you are working with some PHP framework or CMS, and that you want to test a new module/plugin/add-on, or maybe you just want to upgrade to the latest version. The very first thing you should do is to make a backup of your database. Doing this will save you a lot of headache if something goes wrong.