At Arone, we are very committed to the quality of our Arone EDC solution and its proper functioning.

Each new feature can have consequences on the application.

How do we ensure that the addition will not lead to regressions? How can we be sure that the code behaves as intended?

This is why we apply the TDD method to verify the proper functioning of our applications.

TDD is the acronym for Test Driven Development. It is a test-driven software development method. Using the TDD method can be summarized in three repetitive steps:

  1. The writing of a test that matches the functionality we want to add but fails.
  2. The coding of the functionality that makes the test pass.
  3. The rewriting of the code in order to simplify and lighten it.

Developing in TDD means using the “Red, Green, Refactor” method.

This technique has several advantages:

Obviously, it is not easy to write a test for each case. However, for each bug detected, we write a test to validate the correction.The key to mastering TDD is practice.

In conclusion, the developers at Arone save time and the applications are of better quality by applying TDD.

About the authors

This article has been co-written by Khasinjy Praxele and Yves Darmaillac.

Khasinjy Praxele
Developer
See the Linkedin profile

Yves Darmaillac
CTO
See the Linkedin profile

Bibliography : Robert C. Martin. 2008. Clean Code: A Handbook of Agile Software Craftsmanship. Pearson Education