Test, test and test: Automated testing

Reading Time: 2 minutes We are already able to say that a software development without automated testing is unacceptable. We can

Reading Time: 2 minutes

Automated testing: Test, test and testWe are already able to say that a software development without automated testing is unacceptable. We can distinguish among unit, functional, integration and more, but the idea of automating is great!!!

If we focus on unit test we will see that it is apparently easier to implement, although it is not trivial to be able to do testing that truly tests the functionality and, even better, that can be almost complete. TDD and “First Test” help to make all this even more believable (for unbelievers) and further encourage those who live it as an act of faith.

As a first post of , we could identify (among many things) some advantages of this practice:

  1. All tests are regression tests.
  2. The continuous integration makes better tests.
  3. We lose the fear towards code refactoring.
  4. Agile development is successful because of the tests.
  5. Those who test the code with a “main” to see if it is working … What is the difference between that time and writing a real test that will also help us throughout the project?
  6. We know exactly which change caused a compatibility bug (instead of knowing in what month it occurred).
  7. No need to remember the whole code. If you forget what the subject was, you can go and see the tests for that functionality.
  8. The design of the application tends to be better and less decoupled.
  9. You go to bed with peace of mind! You know the code you touched did not break anything (that has tests).

READ THE HAT’S BLOG

Comments?  Contact us for more information. We’ll quickly get back to you with the information you need.

SUBSCRIBE TO OUR NEWSLETTER

Share this articleShare on LinkedInTweet about this on TwitterShare on FacebookEmail this to someone
Go Back