Django Test Splitting on Circle CI

Django Test Splitting on Circle CI

Django Test Splitting on Circle CI

One of the most important things you can do for your development teams' productivity is to shorten the feedback loop during development. This applies to getting feedback from customers or stakeholders to ensure you're building the right thing, as much as it does to testing the code you're writing to ensure no bugs have crept into your change set.

Today we're focusing on the Development - Test feedback loop. Developing a change and running your regression test suite to validate that change should be as fast as possible.

We've used three different systems to run our unit tests over the last few years. Beginning with a self-hosted Jenkins instance, transitioning to Travis CI, and finally arriving at Circle CI.

React JS Melbourne - August Meetup

Last Thursday we had the React Meetup once again! A quick summary of talks and relevant links are set out below:

IMG_6313.jpg

Three speakers covered these topics:

  • Ben Teese talked on how to implement component/data colocation with Apollo Client and React - Slides

  • Alec McGavin spoke about what really happens when a React component re-renders - Repo

  • Basarat Ali Syed showed us the GLS layout system and how to make development at Australia Post a breeze - Link

MVIMG_20190829_192415.jpg

Interest in attending a meetup? Join us next quarter! - https://www.meetup.com/React-Melbourne/

Monitoring Celery Queue Length with RabbitMQ

Monitoring Celery Queue Length with RabbitMQ

Earlier this week Matthew Schinckel wrote a post about how he monitors Celery queue sizes with a Redis backend.

RabbitMQ (https://www.rabbitmq.com/ is also a popular backend for Celery, and it took us a long time to get good visibility into our task queues and backlogs. So we'd like to share our solution for monitoring RabbitMQ celery queues for others that might be in a similar situation.

Management Command Aliases

Management Command Aliases

Django Management Commands

A quick minor efficiency tip for today that'll make your life at the Django command line incrementally better.

You're using django-extensions in your project, right? If not, go and rectify that problem immediately.

The best feature™ that django-extensions provides is the shell_plus command. You know the worst thing about `shell_plus`? The name. That's a long name to type out into your shell, especially since it's snake_case, and I type the command approximately 15,000 times per day. Wouldn't it be nice to alias `shell_plus` to something like `sh`? Well, now you can!