by Sally Young

Receive Desktop Notifications in Chrome for Drupal.org Tests

During the extended weekend sprints at DrupalCon Austin, I discovered what an enthusiastic test refresher I am. When you submit a patch to the Drupal core issue queue, and even some contributed modules, a handy testbot will come along and ensure that your proposed code changes don't break any existing tests. Like most people, I found myself with lots of tabs open, compulsively refreshing each one to see if my test had completed or not. Getting JSON data out of things seems to have been the theme for the week for me, so with the help of Jeremy Thorson, we were able to add JSON feeds to qa.drupal.org.

After getting the data in place, I wrote a small Chrome plugin that allows a developer to subscribe to tests on drupal.org, poll the test feed in the background, and display a linked popup notification when it has completed.

Example of test subscription button on drupal.org
Example of qa.drupal.org test subscription notification

The source code for the Chrome plugin is available on GitHub, feel free to come and contribute!

newsletter-bot