• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 24 páginas
Notas de lectura

Software Testing

Document preview thumbnail
Vista previa 3 fuera de 24 páginas

Types and levels of testing encompass various methodologies to ensure software quality: unit, integration, and system testing validate different components, while acceptance, performance, and security testing evaluate overall functionality, performance, and security of the software.

Vista previa del contenido

Unit 2: Types and Levels of Testing

CO2 : Prepare test cases for different types and levels of testing.


Levels of Testing




Unit Testing
Unit Testing is a level of software testing where individual units/ components of a
software are tested. The purpose is to validate that each unit of the software performs as
designed.
Unit Testing is the first level of testing and is performed prior to Integration
Testing. A unit is the smallest testable part of software. It usually has one or a few
inputs and usually a single output.
It is executed by the Developer.
Unit Testing is performed by using the White Box Testing method
Example: - A function, method, Loop or statement in program is working fine.




Page 1

, Unit 2: Types and Levels of Testing




Drivers

Drivers are used in bottom-up integration testing approach.
It can simulate the behavior of upper-level module that is not integrated yet.
Drivers modules act as the temporary replacement of module and act as the actual
products.
Drivers are also used for interact with external system and usually complex than stubs.
Driver: Calls the Module to be tested.
Now suppose you have modules B and C ready but module A which calls functions from
module B and C is not ready so developer will write a dummy piece of code for module A
which will return values to module B and C. This dummy piece of code is known as driver.

Stubs

Stubs are used in top down integration testing.
It can simulate the behavior of lower-level module that are not integrated.
They are act as a temporary replacement of module and provide same output as actual
product.
When needs to intact with external system then also stubs are used.
Stub: Is called by the Module under Test.
Assume you have 3 modules, Module A, Module B and module C. Module A is ready and
we need to test it, but module A calls functions from Module B and C which are not ready,
so developer will write a dummy module which simulates B and C and returns values to
module
A. This dummy module code is known as stub.

Importance of Stubs and Drivers

Page 2

, Unit 2: Types and Levels of Testing




Page 3

Libro relacionado
 image
Paul Ammann, Jeff Offutt Introduction to Software Testing
Editorial: 2008 ISBN: 9781139468671 Edición: Desconocido

Información del documento

Subido en
16 de abril de 2024
Número de páginas
24
Escrito en
2023/2024
Tipo
Notas de lectura
Profesor(es)
Arti shivtare
Contiene
Todas las clases
$7.89

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
5
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes