Test Automation

Shortening the feedback loop and increasing the quality of code.
Contributed by

Toni Syvänen

Johan Bonneau

Edited by
Published April 13, 2021
Collection
3

What Is Test Automation?

Test Automation allows teams to remove the slow and manual testing cycles related to software development. Test Automation can include such things as:

  • Static code analysis
  • Linting
  • Unit tests
  • End-to-end tests
  • Configurations and policy checks
  • Security tests (dependencies, vulnerabilities, and pen tests)

Why Do Test Automation?

  • Improved quality: Applying patterns like Test-Driven Development or Behavior-Driven Development drives up shared understanding Increase code quality.
  • Deliver reliably at speed: As features are produced, you can confidently release without a large manual registration each time.
  • Fewer bottlenecks: Without automated tests, queues form in front of testers.
  • Faster feedback: Identifying earlier any potential failure before promote changes into production environments.
  • Standardise approach to testing: Defining a way of working where testing is another goal and benefit for the product team.

How to do Test Automation?

These tests are steps of the Continuous Integration (CI) and Continuous Delivery pipeline, such other main steps of the software delivery life cycle.

Easy and quick tests can be executed right after building (compiling) an application or when code is pushed or merged in source control. End-to-End and Security tests usually are executed one the software is deployed in some non-production environment.

Many of these tests can be run in parallel, decreasing the overall time taken to run a collection of tests.

Tools such as Tekton, Jenkins or TravisCI could be used to execute these tests.

Publishing and visualizing the execution reports of the test is another key aspect of the Test Automation, as these reports provide a rapid visualization about the status of the quality, and results of all these steps along the life cycle of the software.

Tools such as SonarQube, OWASP ZAP provide test reporting dashboards.

Look at Test Automation

Links we love

Check out these great links which can help you dive a little deeper into running the Test Automation practice with your team, customers or stakeholders.


Except where noted, content on this site is licensed under a Creative Commons Attribution 4.0 International license. This site is graciously hosted by Netlify