Introducción a las Pruebas de Software (Testing software)

Una de las partes más importantes de un buen programador es la calidad de su código. Para obtener dicho resultado, existen multitud de factores. Algunos de ellos pueden ser: buenas prácticas, limpieza del código, metodologías utilizadas, la experiencia del programador, realizar testing…

En este caso, nos vamos a centrar en el último mencionado, el testing. El QA Tester (Quality Assurance), no es nada menos que la persona que verifica o el asegurador de la calidad sobre un código.

Las empresas que contrataban servicios IT, hasta hace poco veían el testing como algo no muy importante y que encima les costaba dinero. Entre otros aspectos, algunas por desconocimiento, otras por un mal planteamiento. Pero en los últimos años, se ha generado un BOOM y cada vez hay más demanda de especialistas del testing. Esto se produce, debido a que se ha producido un cambio en el pensamiento de las empresas. Debido a que se han dado cuenta que invertir en testing, es muy beneficioso para ellas ¡En todos los ámbitos!

Anteriormente, las empresas solían desconocer los beneficios que el testing otorga tanto a nivel de calidad, como de seguridad, de fiabilidad, etc. Por si todo los motivos anteriores fueran pocos, no nos podemos olvidar otro igual de importante, el beneficio de económico que ahorra la empresa gracias a la combinación de todas las ventajas anteriores.

Tipos de pruebas de software

Existen multitud de pruebas. En este artículo, nos vamos a centrar en explicar el explicar el siguiente mapa. Conocer las diferentes pruebas de testing que existen, nos permitirá saber en qué punto estamos situados en cada momento.

Categorias de las pruebas (Nivel 1)

Después de ver el mapa. Vamos a ver las diferentes subcategorías que existen, para después entrar en cada una de las categorías con más detalle.

  • Pruebas funcionales (Functional Testing): también son conocidas como pruebas de caja negra (black-box testing). Se centran en analizar los datos de entrada y salida para definir unos casos de prueba que estarán listos antes del inicio de estas. Las pruebas se realizan habitualmente de forma manual, aunque existe la posibilidad de automatizarlas con una serie de scripts. Su fin es validar que el software cumple con el nivel de calidad requerido para entrar en producción.
  • Pruebas no funcionales (Non-Functional Testing): Son pruebas no funcionales, prueban los atributos de un componente o de un sistema que no se refieren a la funcionalidad. Algunos ejemplos pueden ser: seguridad, fiabilidad, eficiencia, escalabilidad, usabilidad, mantenibilidad, instalación, portabilidad, etc.

Tipos de pruebas funciones (Nivel 2)

Las principales pruebas funcionales son:

  • Pruebas unitarias (Unit Testing): el objetivo de estas pruebas es probar los componentes de un programa individualmente (un ejemplo podría ser el testing de una función o de una clase).
  • Pruebas de integración (Integration Testing): el objetivo de estas pruebas es verificar el correcto ensamblaje de un conjunto de componentes en el entorno. Los cuales, ya han sido probados anteriormente de forma individual mediante a las pruebas unitarias.
  • Pruebas de regresión (End to End Testing): el objetivo de estas pruebas es verificar el correcto funcionamiento de un componente modificado, y a su vez, verificar que el componente modificado no a afectado al correcto funcionamiento del resto de componentes. Se realiza con la finalidad de detectar posibles bugs (fallos) tanto en dicho componente, como en otros componentes. Se ejecutan cuando se implementa un nuevo componente dentro del entorno.
  • Pruebas de aceptación o (User Acceptance Testing): el objetivo de estas pruebas es que clientes testeen el software para verificar que cumple las expectativas.

Tipos de pruebas no funcionales (Nivel 2)

Las principales pruebas no funcionales son:

  • Pruebas de Rendimiento (Performance): el objetivo de estas pruebas es garantizar el funcionamiento bajo una carga de trabajo esperada.
    • Pruebas de carga (Load Testing): el objetivo de estas pruebas es testear la capacidad de la aplicación bajo cargas previstas por el cliente.
    • Pruebas de Estrés (Stress Testing): el objetivo de estas pruebas es testear cómo reacciona la aplicación a cargas de trabajo extremas, como son: un tráfico elevado o una gran cantidad de procesamiento de datos.
    • Pruebas de Escalabilidad (Scalability Testing): el objetivo de estas pruebas es determinar la capacidad de adaptación de la aplicación al aumento de carga de de usuarios (escalabilidad).
    • Pruebas de Volumen (Volume Testing): el objetivo de estas pruebas es determinar el rendimiento de la aplicación según el volumen de datos que contiene la BBDD.
  • Pruebas de seguridad (Segurity Testing): el objetivo de estas pruebas es tratar de descubrir vulnerabilidades, tanto de la aplicación, como de los datos que contenga el sistema.
  • Pruebas de documentación (Documentation Testing): el objetivo de estas pruebas es almacenar cualquier información (escrita o ilustrativa) que describa o defina procedimientos o resultados.
  • Pruebas de instalación (Installacion Testing): el objetivo de estas pruebas es verificar que la instalación de la aplicación se realice satisfactoriamente.
  • Pruebas de confiabilidad (Reliability Testing): el objetivo de estas pruebas es determinar el grado de confiabilidad que ofrecerá la aplicación durante un período determinado en un entorno específico.

Coste de las pruebas por nivel

Conforme más arriba respecto al nivel de jerarquía de testing se detecte un error en una aplicación, más lento, costoso y difícil es solventarlo. Por tanto, todo esto, se traduce en un coste más elevado. Para reducir esto mismo, es aconsejable además de realizar todos los test que hemos visto, el trabajar con la metodología de software TDD, de la que ya hemos hablado recientemente en el blog.

En esta imagen, podemos ver lo que nos puede costar introducir una gran cantidad de errores en un futuro no muy lejano.

Y en la siguiente, como podemos ver como se incrementa el coste de estos errores si más arriba jerárquicamente hablando se encuentren.

Espero que está introducción os haya servido, para adquirir una visión sobre los test. Aunque este artículo, solamente es una introducción . Nos vemos en próximas clases.

47 comentarios

  1. Link exchange is nothing else except it is simply placing the other person’s weblog link on your page at proper place and other person will
    also do same in support of you.

  2. This post is in fact a nice one it helps new net users,
    who are wishing for blogging.

  3. I pay a visit everyday a few websites and websites to read content, except
    this web site gives feature based writing. quest bars http://bitly.com/3jZgEA2 quest bars

  4. Wow, this paragraph is good, my sister is analyzing these kinds of things,
    thus I am going to inform her. cheap flights http://1704milesapart.tumblr.com/ cheap flights

  5. Hi everyone, it’s my first visit at this site, and article is actually fruitful in favor of me, keep up posting such articles or reviews.

  6. This is my first time visit at here and i
    am really impressed to read everthing at alone place.

  7. Today, I went to the beach with my kids. I found a sea shell and gave it to
    my 4 year old daughter and said «You can hear the ocean if you put this to your ear.» She put the shell to her ear and
    screamed. There was a hermit crab inside and it pinched her
    ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  8. Amazing! Its truly amazing piece of writing, I have got much clear idea on the topic
    of from this piece of writing.

  9. This text is worth everyone’s attention. Where can I find out more?

  10. Hey there! This is my first comment here so I just wanted to give a quick shout
    out and say I really enjoy reading through your blog
    posts. Can you recommend any other blogs/websites/forums that go over the
    same subjects? Thanks for your time!

    My page – tracfone special coupon 2022

  11. For hottest information you have to go to see world wide web and on the web I found this website as a best website for newest updates.

  12. Buy Metformin online at a discounted price without a prescription for diabetes Discounted diabetes medication online
    Low-cost Metformin online to treat diabetes Low-cost Metformin online to treat diabetes

  13. Greate article. Keep writing such kind of info on your site.
    Im really impressed by your site.
    Hi there, You’ve performed a great job. I’ll definitely digg it and
    for my part suggest to my friends. I’m sure they will be benefited from this web site.

  14. Sweet blog! I found it while surfing around on Yahoo News.
    Do you have any suggestions on how to get listed
    in Yahoo News? I’ve been trying for a while but I never seem to get there!
    Many thanks

  15. Keep on working, great job!

  16. Stunning quest there. What happened after? Thanks!

  17. After logged in, click “Deposit” in the upper-ideal corner of your
    screen.

    my blog post … read more

  18. Hi, Neat post. There is a problem along with your web
    site in internet explorer, could test this? IE nonetheless is the market leader and a large portion of people will pass over your wonderful writing
    because of this problem.

  19. Typical annual full-time earnings for the self-employed is £19,560, nearly
    a third (29%) significantly less than the baseline
    population (£27,380).

    Look at mmy blog post: 여성알바

  20. I’m extremely impressed with your writing skills as well as with the layout on your weblog.
    Is this a paid theme or did you customize it yourself? Either way
    keep up the nice quality writing, it’s rare to see a great blog
    like this one nowadays.

  21. So you could have a full-time, element-time or seasonal job, depending on whom
    you perform for.

    Feel free to surf to my website :: 이지알바

  22. In-play andd reside betting are some off the discoveries that have also helpwd on-line sports betting catch
    on.

    Review my homepage: web site

  23. Asking questions are in fact nice thing if you are not understanding something entirely, however this piece of writing offers fastidious understanding yet.

  24. One particular of the standout characteristics
    of BadCreditLoans is its commitment to acchountable lending practices.

    Also visit my website 대출

  25. To do this, these web-sites have a network of agents situated
    about the globe.

    Loook into my blog post VG보글파워볼

  26. I really like it when individuals come together and share opinions.
    Great blog, continue the good work!

  27. Bet365 provides a two-way marketplace on no touchdowns scored in the NFL games, which means a user can bet yes, there will be
    touchdowns, orr no, there will not.

    Alsso visit my page :: http://house-story111.co.kr/

  28. New users who sign up with thee Caesars Onlime Casino promo code caan get an immediate
    $200 reward.

    my web blog – site

  29. Youur function will be to fill the kind as honestly ass probable and uplkoad the required attachments.

    Here is my site; 개인돈 대출

  30. If you currently have a mobile internet site, you never need
    to have to create a new platform from scratch.

    my blog post – 네임드파워볼

  31. But Alfred «Haeppy» Leung, a Seoul-primarily based YouTuber wkth
    WeFancy, a channel that examines Korean culture, believes that thiks is a main misconeption about plastic surgery
    in South Korea.

    Allso visit my blog post: 유흥알바

  32. I have read so many articles or reviews on the topic of the
    blogger lovers but this article is actually a fastidious paragraph, keep it up.

  33. The policy of the EU nations to help funhctioning mothers differs drastgically from nation to nation.

    Check out my site; 마사지 알바

  34. The hagparazzi arre rewarded with a share of any fines imposed on errant educational establishments.

    Here iis my web blg 단란주점알바

  35. BadCreditLoans will provide yyou wuth a loan in between $500 and $five,
    000 that you can repay over a period of 3 to 36 months.

    Here iis my webpage … 소액대출

  36. Experienced childcare byy no means replaces parental interest andd a Christian education”.

    My web blog; 마사지 알바

  37. Thanks a lot for sharing this with all of us you really recognise what you’re speaking about!

    Bookmarked. Kindly additionally visit my web site =).
    We could have a hyperlink trade agreement between us

  38. Preserve reading to understand the ins and out of obtaining a $3,
    000 private loan.

    mywebsite :: 정부지원대출

  39. And beyond that point, you only have $1 in Social Security withheld per $3 of earnings.

    Feel free to surf too my webpage – 이지알바

  40. Hello my family member! I want to say that this post is awesome, great written and come with almost
    all significant infos. I’d like to see more posts like this .

  41. The police stood by to deal with emmergencies amon the
    students who were taking their university entrance exams that day.

    My homepage; 룸 알바

  42. Hello there I am so happy I found your web site, I really found
    you by mistake, while I was looking on Yahoo for something else, Nonetheless I am here now and would just like to say thanks for a remarkable post and a all round exciting blog
    (I also love the theme/design), I don’t have time to read
    it all at the minute but I have book-marked it and also added your RSS feeds,
    so when I have time I will be back to read a great deal
    more, Please do keep up the fantastic jo.

  43. It’s in point of fact a nice and helpful piece of info.
    I am glad that you simply shared this helpful information with us.
    Please keep us up to date like this. Thank you
    for sharing.

  44. Howdy excellent blog! Does running a blog like this require a lot
    of work? I have very little understanding of coding however I was hoping to start my own blog in the near future.
    Anyway, should you have any ideas or techniques for new blog owners please share.
    I understand this is off topic however I simply wanted to ask.
    Thanks a lot!

  45. Good day! Do you use Twitter? I’d like to
    follow you if that would be okay. I’m absolutely enjoying your blog and look forward to new updates.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

La Ley 34/2002 nos obliga a avisarte de que usamos cookies propias y de terceros con objetivos estadísticos y de sesión y para mostrarte la 'publi' que nos da de comer. Tranquilo, este mensaje solo sale una vez. Más información

Java desde 0 comunica a los usuarios, a través de este aviso, que puede utilizar cookies cuando el usuario navega por las diferentes pantallas y páginas del sitio. Durante el uso de nuestra página Web usted acepta y autoriza expresamente el uso de cookies, de acuerdo con nuestra Política de Privacidad. Este sitio web utiliza las siguientes cookies propias: - Cookies de sesión, para garantizar que los usuarios que escriban comentarios en el blog sean humanos y no aplicaciones automatizadas. De esta forma se combate el spam. Este sitio web utiliza las siguientes cookies de terceros: - Google AdManager y AdSense: Utiliza cookies para mejorar la publicidad. Entre otros fines, suelen utilizarse para segmentarla según el contenido que sea relevante para los usuarios o su ubicación, mejorar los informes de rendimiento de las campañas y evitar mostrar anuncios que los usuarios ya hayan visto. Las cookies no contienen información personal identificable. Consulta cómo utiliza Google la información de sitios web o aplicaciones. y cómo bloquear determinados anuncios. - Google Analytics: Almacena cookies para poder elaborar estadísticas sobre el tráfico y volumen de visitas de esta web. Al utilizar este sitio web está consintiendo el tratamiento de información acerca de usted por Google. Por tanto, el ejercicio de cualquier derecho en este sentido deberá hacerlo comunicando directamente con Google. - Redes sociales: Cada red social utiliza sus propias cookies para que usted pueda pinchar en botones del tipo Me gusta o Compartir.

Cerrar