Test Driven Development

A lot of methodologies are used in software development but one of that I really use in my work and sometimes in the school is the Test Driven development, and one great thing that this semester happened to my is met to Kent Beck the creator of this test. So let me pass some of my knowledge to you with this blog.

This process consist of the repetition of a short development cycle where requirements are turned into specific test cases then the software is able to pass to the other iteration.

So first, like all my blogs let me recommends a video that will help you to understand more about this.

There are 5 steps on each iteration and are:

  1. Add a test – Each component of the system is a test. The test describes the function or improvements of a function. The test needs to be clear and understandable.
  2. Run the test – In this step you prove the code of the test to see if works correctly, if it doesn’t work as it should be edit the necessary code.
  3. Write more code – The next step is to write some code that causes the test to be accepted.
  4. Run again – If all the pest pass the new code accomplish the requirements proposed in the beginning .
  5. Refactor code – This part is to purify the existing code by removing the necessary code or adding new more code that is needed for the system.

Then the process is repeated until the system is done.

the benefits of this process are that the programmers are more efficient and more scenarios of failure are considered.

Some limitations are that this process is low for big systems because the necessity of create lots of test takes a lot of time, but it guarantee a system more robust.

References:

https://en.wikipedia.org/wiki/Test-driven_development

https://sg.com.mx/revista/46/test-driven-development

Publicado por Masharelli

-Estudiante del Tecnologico de Monterrey -Ingenieria en Sistemas Computacionales -Geek -Catador de Tacos

Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión /  Cambiar )

Google photo

Estás comentando usando tu cuenta de Google. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )

Conectando a %s

Crea tu página web en WordPress.com
Empieza ahora
A %d blogueros les gusta esto: