Escolar Documentos
Profissional Documentos
Cultura Documentos
ENGENHARIA DE SOFWARE I
TESTE DE INTEGRAÇÃO
RA: 2370415
___________________________
Beatriz Caroline da Silva Araujo
RA: 3444839
___________________________
Danilo de Almeida Cremasco
RA: 5156983
___________________________
Gabriel Henrique Alegrete Santos
RA: 8628421
The demands for higher quality software have motivated the definition of
methods and techniques for the development of software that meet the quality
standards imposed. As a result, interest in software testing activity has been increasing
in recent years. Several researchers have investigated the different test criteria,
seeking to obtain a test strategy with low cost of application, but at the same time, with
great capacity to reveal errors. The purpose of this mini-course is to present the
theoretical and practical aspects related to the software testing activity. A synthesis of
functional, structural and error-based test techniques, as well as test criteria pertaining
to each, will be presented. Factors used in the comparison and evaluation of software
test criteria (cost, effectiveness and strength) will also be addressed, Concepts on
Integration Testing in Systems. System Integration Testing is basically a high-level
software testing process in which testers verify that all related systems maintain data
integrity and can operate in coordination with other systems in the same environment.
INTRODUÇÃO .......................................................................................................... 08
1. Verificação de Testes ...................................................................................... 09
2. Visão geral de testes de Software ...................... Error! Bookmark not defined.0
3. Testes de Integração .............................................. Error! Bookmark not defined.
3.1 Necessidade de Teste de Integração no Sistema .............. Error! Bookmark not
defined.1
4. Técnicas de Testes de Integração .............................................................. 13
4.1 Análise de Dependência ................................................................................... 15
4.2 Integração Big Bang ........................................ Error! Bookmark not defined.
4.3 Integração Ascendente..................................................................................... 18
4.4 Integração Descendente .................................................................................. 20
4.5 Integração por Colaboração ............................................................................. 26
5. Abordagem Sanduíche .................................................................................. 27
6. Como Fazer umm teste de Integração de Sistema ...................................... 29
6.1 Critérios de Entrada e Saída do Teste de Integração ...................................... 30
6.2 Critério de Entrada ........................................................................................... 30
6.3 Critérios de Saída ............................................................................................. 30
CONCLUSÃO ........................................................................................................... 31
REFERÊNCIAS ......................................................................................................... 34
1. Introdução
3.Testes de Integração
1.Figura A imagem abaixo nos níveis de teste tornaria o fluxo do teste de unidade para
o UAT claro para você:2.A granularidade do SIT
4. Técnicas de Testes de Integração
De acordo com Binder [54], teste de integração é a busca por falhas nos
componentes que produzem falhas entre os componentes. Essa integração
pode ser realizada de forma incremental ou não-incremental.
Uma vez que esse trabalho irá propor um método para testes de
integração em sistemas baseado em componentes e a análise de
dependência é de grande importância para os testes de integração, a Seção
4.1 apresenta alguns conceitos relacionados à análise de dependência, em
seguida as Seções 4.2 a 4.6 apresentam resumidamente algumas técnicas
de integração incremental e não-incremental.
Essa técnica não necessita de nenhum driver e/ou stub sendo indicada
nas seguintes situações: (i) para um sistema estável, testado
detalhadamente em um outro momento e com poucas alterações, como por
exemplo, manutenção e/ou inclusão de novas funcionalidades; (ii) para um
sistema pequeno e bem estruturado cujos componentes passaram
adequadamente pelos testes de unidade e os componentes são testados
toda vez; (iii) para um sistema monolítico geralmente desenvolvido em
linguagem de programação convencional (Basic, Fortran, Cobol).
Raiz Componen
te Testado
Drivers
Componente sob
Teste
Interface
sob Teste
Interface
Testada
Componen
Raiz
te Testado
Drivers
Componente sob
Teste
Interface
sob Teste
Interface
Testada
Raiz Componente
Testado
Drivers
Componente sob Teste
Interface
sob Teste
Interface
Testada
Stubs
Componente
Testado
Driver
Componente sob Teste
Interface
sob Teste
Interface
Testada
Componente
Testado
Driver
Componente sob Teste
Interface
sob Teste
Interface
Testada
Por outro lado, os testes de integração iniciam-se mais cedo logo que
os componentes do primeiro nível (de cima para baixo) são codificados.
Colaboração
S
t
u
b
s
D
r
i
v
e
r
Componente sob Teste
Interface sob Teste
G. Myers. The Art of Software Testing. John Wiley and Sons, 1979.
H. Oliveira. Construção de um Componente Genérico Baseado em
Heurísticas para Ordenação das Classes em Ordem de Prioridade de Teste
de Integração, Estudo do Laboratório de Engenharia de Software,
COPPE/UFRJ, 2003.
1998.
1996.
4, p. 18-25.
pp. 61-72.
1994.
Carlos-SP, 1999.
http://www.abo.fi/~Wolfgang.Weck/WCOP/97/Summary.html. - acesso
em: 24/10/2005
W. E. Howden. Theorical and Empirical Studies of Program Testing.
298, 1978.
14(2):159-192, 1982.
9529/00,2000