The importance of Test Automation for Business Time to Market

Right after I woked up today, I read this Dan North’s tweet:

Screenshot from 2018-09-23 13:48:42

Trunk-based development makes the development teams integrate and test on a single code, which is the trunk (or master in Git). It is the base for Continuous Integration and Continuous Delivery. This approach brings software releases early, reducing time to market. At the extreme, Lean Startups.

Two weeks ago I was coaching an agile team for the first time, they use feature branches, having a slow cadence of deliveries. They are working on a single product with other three teams in their organization, plus other three organizations. In this case, code integration is a mess and its code is fragile. After a short time, business cannot have fast time to market anymore.

So what is missing?

It is virtually impossible having trunk-based development without test automation. When you need to integrated code, you need to test the feature and every thing related. So doing it manually is insanity. Manual testing can be easy in the beginning, but the software becomes more and more complex. You need test automation.

First of all, your team have to understand the need of test automation. Secondly, they have to learn and practice test automation. Why not try coding dojos or mob programming?

Based on the Redundancy principle of eXtreme Programming, your team can automate tests on critical features, difficult problems, so it can be approached in many ways. Developers focus on unit and integration code mostly, even functional tests. Testers automate functional and many other types of tests. They help each other. There is no right division on that.

Keep something in your mind: “Legacy code is simply code without tests” by Michael Feathers. So every code you commit without tests, it is legacy code.

So cheers for good practices on software development…

Dionatan Moura (me, left) and Dan North (BDD creator, right) in the conference Agile on the Beach 2017. Falmouth, England.


7 Secrets for Techies to Become More Productive

Inside an environment highly demanding with frequent interruptions, people who work with technology need to be careful with their productivity. For that reason, I’m revealing seven secrets from my own experience. I hope they can be useful for you too.

Secret #1. Have a purpose

Firstly, do you really need to be more productive? Be more productive without a purpose is like a boat travelling on the high sea, going faster to anywhere. With a good purpose, your productivity will flow. Describe a purpose using objectives with goals. An objective is qualitative, like to work with new technologies to grow up in your company. A goal is quantitative and needs a deadline, like read three books of agile software development in the next two months. Each objective has goals, and each goal will be divided in tasks.

Secret #2. Work on a prioritized list of tasks

Make a list of all tasks that you need for your goals. How to prioritize tasks? Look to the importance and the urgency of each task. You can use apps running on the cloud to automatize your lists, like,, and

Secret #3. Visualize your progress

You will need small rewards, day by day, visualizing your work done. For that, you can use a task board, also called kanban board. A good app on the cloud is at

Secret #4. Give the next step soon

Sometimes, you have so many important tasks to do that you might prefer to procrastinate. So, give the next step soon. Don’t wait a perfect moment. Just pull a task and start. Task by task, you will be rewarded with the feeling of accomplishment and motivation.

Secret #5. More focus

Focus is the key to be high productive. It happens when you use all of your capability for only one task. For this, use short periods of times (15-90min) to have high focus, avoiding at most anything that can interrupt or distract you. A simple and powerful technique for that is the Pomodoro Technique. One Pomodoro is a period of 25 minutes to work in one task each time, avoiding all distractions and interruptions. Set an alarm for each Pomodoro, you can use the alarm in your smartphone. Between two Pomodoros, take a short break of 3-5 minutes. Every four Pomodoros, take a long break of 15-30 minutes. There are some nice apps for that like or

Secret #6. Take care of your energy

Yes, even techies need to care about the energy. Your mental and physical energies are the fuel of your productivity. So care about your nutrition, your hydration, your sleep, your body doing  stretching and physical exercises, mainly the aerobic ones. You might boost your mind with meditation or mindfulness. If you have never meditated you might try the, or

Secret #7. Productive habits and routine

You need discipline to achieve high productivity in a short term. However, for a long time, you will need to care about your habits and your routine. Use your discipline to make productive habits, starting to build a routine during the first weeks. To acquire new and more productive habits is a process that might require some effort and time.

Top Secret #8

Yes, a top secret. Be resilient! Sometimes everything seems to go wrong for your productivity among interruptions and distractions. Don’t give up, persist! Face it like a challenge.


Image by Matthias Ripp, under license Attribution 2.0 Generic (CC BY 2.0).