Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Integrated tests... are they really important?
Antonio Marcos Oliveira
Antonio Marcos Oliveira

Posted on

     

Integrated tests... are they really important?

On the last few weeks, I faced myself with a task to make integration tests for the database with our API, and a few questions came across my mind:

  • But aren't we already making unit tests?
  • All the effort will pay itself at the end?

So, along all the development path, I learned that even though we have to be open mind and ready to collaborate with your QA (if you have on your team), that also even if you have set up somenthing, meanwhile you are implementing the scenarios, you'll face new situations that require specifics setups and once you get over it, the development stops to be so stressful and starts to be fun and challeging. Free your imagination to think about the most exquisite situations (we know that funny things can happeng between two applications) and use this to reflect about if your unit tests suits are really being valuable or if it's just there to pass on sonarQube quality gates.

And yes, after finishing the implementation, I found some bugs that aren't visible even tough the API were exaustly tested, some of them critical which show me the importance the align the unit test it's not something to be left aside when you are planning the next steps of your project, not thinking that's luxury or somenthing secondary, but a crucial part of your application. Long short story, the application it's now more secure, maintainable and reliable for the users, ensuring less bugs, less headache for your team and more money wasted with your application off when can be simply evitable.

Top comments(2)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
gabrielnsd profile image
Gabriel Dantas
Technology enthusiast always wanting to learn. Developing applications with React, React Native and Next. Computer Engineering and Data Science and Artificial Intelligence student
  • Location
    Natal, Brazil
  • Joined

Nice article! Thanks for sharing!

CollapseExpand
 
andreciobezerra profile image
Andrecio Bezerra
  • Joined

Tests are most necessary action of a QA strategy de software. Nice article my friend

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

  • Location
    Natal, Brazil
  • Education
    Universidade Federal do Rio Grande do Norte
  • Work
    Thoughtworks
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp