Jump to the navigation menu

Makings things frictionless

If you want people to do things, you need to make them as simple as possible.

If you need to need to switch to a different window or tab to run your tests, you'll be less likely to run them.

I have keybindings in Neovim to run the current test, the previous test or the entire test file, which means I can easily run a test with a couple of key presses and without needing to change applications or to a different terminal.

I do the same when working on presentation slides, and need to compile the reStructuredText document into a PDF using rst2pdf.

I also use watchers with entr - commands that watch for changes, such as a file being saved, and running a command. This means I can also have my tests run automatically whenever I change a file.

I have snippets to generate complex code or commands I need to run often, saving me time and reducing errors.

The more frictionless and easy I can make running a task, the more likely I am and others are to do them.

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an Acquia-certified Drupal Triple Expert with 18 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.