#Automation Posts

The Toptal Engineering Blog is a hub for in-depth development tutorials and new technology announcements created by professional software engineers in the Toptal network.
Nathan Finch
Don't Repeat Yourself: Automating Repetitive Tasks with WP-CLI

In a recent project, there were several programmatic tasks I needed to repeat periodically. One task in particular involved updating user-level permissions based on evidence of membership level purchase or subscription.

Instead of going into the admin panel and manually deleting hundreds (maybe thousands) of subscriptions, I opted to reach for one of my favorite WordPress tools: WP-CLI, which fixed the problem in a few keystrokes.

Continue reading →
Francisco Reynolds
Fastlane: iOS Automation on Cruise Control

Working on an iOS application can be tedious, especially when you are wasting countless hours doing the most boring tasks: taking screenshots, signing code, and jumping through similar hoops to get your app to the users’ devices.

In this article, Toptal Freelance iOS Developer Francisco Reynolds walks you through the ultimate release automation tool for your iOS app and shows how it can save you from all of the tedious tasks.

Continue reading →
Anton Kanevsky
Gulp: A Web Developer's Secret Weapon for Maximizing Site Speed

When dealing with web-based projects that run in the production environment, being able to build and deploy changes quickly is a top priority. However, repetitive processes such as building front-end assets, when not automated, can be prone to critical errors.

In this article, Toptal Freelance Software Engineer Anton Kanevsky shows us how Gulp can solve various challenges of build automation through simple JavaScript routines.

Continue reading →
Dejan Zivanovic
Automation in Selenium: Page Object Model and Page Factory

Proper test automation is not always easy to achieve and requires almost as much design and thought as needed for the software itself. In the agile way of development tests are an essential ingredient in ensuring quality of software. However, unless these test codes are maintainable, they can prove to be more of a nuisance, especially when it comes to automated testing of modern web applications. This article is an easy introduction to Selenium features Page Object and Page Factory, how they can be used to model web applications, and how to write maintainable test code using them.

Continue reading →
Mahmud Ridwan
Deploy Web Applications Automatically Using GitHub Webhooks

Deploying instances of a web application to one or more servers manually can often be a monotonous process, and take up a significant amount of your time. With little effort, it is possible to automate the process of deploying your web application with almost zero human intervention. This article outlines a simple approach to automating web application deployments using GitHub webhooks, buildpacks, and Procfiles.

Continue reading →