• Insights
  • How to improve quality in software development

How to improve quality in software development

Improving Development Quality & Efficiency: How to Get More Out of Automated Testing

Published on29 May 2019
Article intro

Introduction

What is test automation? And how can a custom software development project benefit from it?

At its most basic, test automation allows a quality control team to reduce the routine, manual work, saving time and minimizing human error.

Automated testing processes is like turning on air conditioning instead of waving a fan, the air con achieves the same result, but much more quickly. And it never gets bored, tired, or distracted.

While test automation is most frequently used at the end of a project's development process, it has much more potential than that. Employed in early and mid-stages of development, test automation can prevent time-intensive redevelopment, and it can even help prevent bugs and maintain your software after it's live.

How does that work?

First, at the very beginning of the project, the team needs to agree on the minimum acceptable software quality level for the go-live. All complex software will likely go live with defects, so that can be repaired after it's live.

The question here isn't whether the bugs will ever be fixed, they will. The question is which ones we can let stand until after launch. Having this clear goal upfront helps to determine the development plan and stay focused on the result, and such proactive thinking can save project teams a lot of time, which is a critical goal in the rapidly changing IT industry.

Once the developers get started, the basic development workflow looks like this:

  • develop function
  • test and find bugs
  • redevelop to fix bugs
  • retest & find new bugs
  • redevelop to fix bugs

This cycle continues as many times as necessary to achieve quality criteria.

the cycle used to improve software development project results

This cyclical, repetitive approach is quite time consuming. But we can save time and effort by preventing many bugs in the first place, during the development phase. This is where test automation comes in.

Automate key tests for critical areas

The first trick to shortening that cycle is to define the most business-critical and risky areas and make sure they are developed without any major bugs in the first place. The fewer bugs produced, the fewer ‘test, fix, retest’ iterations are needed.

In the planning phases, the developers should work with the quality assurance (QA) expert to highlight critical areas that will be prone to bugs and define the acceptance criteria for them. Then the test automation engineer can use that information to automate the checks that validate whether the code matches those criteria.

Then, as the development team is writing code, they can use those automated tests to quickly check for critical bugs in their code, fixing any that appear before they send their work off to quality control in the first place. As a result, the critical, high-risk functions of an application come to the QA team for validation, without the bugs that could break down the whole system.

Of course, there may still be some bugs left in that code, but with the biggest ones already taken care of, QA can focus on more creative tests from the first test iteration, rather than spending the first two test cycles handling critical and major malfunctions.

Automated testing requires an upfront investment but, like the critical discovery phase, this investment at the beginning of your journey saves time and resources in the long run.

Continue automated testing during the software development life cycle

It's not enough to run these tests once, before handing the code over to QA. We recommend you keep running them every time any piece of code changes. This helps make sure that system changes do not affect critical areas in ways they aren't supposed to. Again, this saves time and resources in the long run by preventing surprises along the way.

Monitor your production system's functions with regular health checks

When your system goes live, remember to support and maintain it, as this is the most important part of the project.

When your first real users enter the app, you want to give them a completely positive experience. And to enable that, you need your core functionality to be operable and the whole system to be up and running.

Here again, automated tests will save you time and headaches. The real-life production environment is known for surprising developers and users. Integration points may change or database connections may get overloaded, for example. Even if you cannot prevent those surprises, you'll want to ensure you'll get notified about them immediately so your support team can fix them right away.

One way to identify issues in production is to wait until your system users tell you. But that may not be immediate and, even worse, by the time the users tell you about the issues, they've already had a bad experience.

The other, more reliable way to identify issues that need repair is to schedule recurring health checks to validate your most critical areas' operability. And, luckily for you, all those automated tests you have ready will come in handy once again.

While automated testing shouldn't fully replace manual QA and monitoring, automating critical tests in key components of your software can work to reduce the time the QA team spends on mundane checks, and reduces the time developers need to spend rewriting code throughout the process.

If you're looking for a trusted partner to drive your next custom software development project forward, contact Syberry and tell us about your business goals.

Contributor
  • Elena Laptik
    Elena Laptik
    linkedHead of QA
  • Copy link

  • Twitter(X)
  • Facebook
  • LinkedIn

Succeed faster with Syberry.

Get in touch to discuss your vision — for your software and your business.