Every so often I need to write an update hook for a Drupal module, and generally I like to include an automated test, which means creating a fixture. However, I always forget how to do that, and have to figure out how to do that all over again. This time I've written a blog post so I can refer to it in future...
https://lostcarpark.com/drupal/creating-tests-drupal-module-update-hooks