gridunit: using the computational grid to speed up software testing
DESCRIPTION
GridUnit: Using the Computational Grid to Speed up Software Testing. Sessão de Ferramentas – SBES 2005. Alexandre Duarte Walfredo Cirne Francisco Brasileiro Patrícia Machado. Motivação. Existem aplicações com testes automáticos muito demorados Rothermel, Untch, e Chu (7 semanas) - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/1.jpg)
Alexandre DuarteWalfredo Cirne
Francisco Brasileiro Patrícia Machado
GridUnit: Using the Computational Grid to Speed up Software Testing
Sessão de Ferramentas – SBES 2005
![Page 2: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/2.jpg)
Sessão de Ferramentas – SBES 2005
• Existem aplicações com testes automáticos muito demorados– Rothermel, Untch, e Chu (7 semanas)– Smart Alarms (36 horas)
• Testes são tarefas independentes– Facilmente executadas em paralelo
• Soluções atuais para distribuição da execução de testes são limitadas
Motivação
![Page 3: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/3.jpg)
Sessão de Ferramentas – SBES 2005
O que é uma Grade Computacional ?
• É uma plataforma para execução de aplicações paralelas:– Amplamente distribuída– Altamente heterogênea– Compartilhada– Sem controle central– Formada por múltiplos domínios administrativos
![Page 4: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/4.jpg)
Sessão de Ferramentas – SBES 2005
Teste Distribuído usando Grades Computacionais
• Poder computacional adicional• Ambiente altamente heterogêneo e “não-
viciado”• Isolamento entre testes
![Page 5: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/5.jpg)
Sessão de Ferramentas – SBES 2005
OurGrid• Maior grade computacional em produção no Brasil
– 30 instituições (UFCG, USP, PUC-RS, UFPE, PUC-Minas, UFF, UFPB, UFBA, UCB, LNCC, UNISANTOS, ...)
– Aproximadamente 500 máquinas
![Page 6: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/6.jpg)
Sessão de Ferramentas – SBES 2005
GridUnit = JUnit + OurGrid • Não requer qualquer modificação de código• Código aberto (http://gridunit.sourceforge.net) • Encapsula a complexidade da grade
![Page 7: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/7.jpg)
Sessão de Ferramentas – SBES 2005
GridUnit – Tela 1
![Page 8: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/8.jpg)
Sessão de Ferramentas – SBES 2005
GridUnit – Tela 2
![Page 9: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/9.jpg)
Sessão de Ferramentas – SBES 2005
Resultados Preliminares• 162 execuções de um TestSuite com duração
seqüencial de 24 horas– Tempo total de 152 horas (3.9% de 3888 horas)
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
15 30 45 60 75 90 105 120 Mais
Tempo de Execução (minutos)
Porc
enta
gem
Acu
mul
ada
![Page 10: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/10.jpg)
Sessão de Ferramentas – SBES 2005
Trabalhos Futuros• Desenvolver um mecanismo de especificação
e implantação de cenários de testes• Estudar como explorar explicitamente a
heterogeneidade de ambiente
![Page 11: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/11.jpg)
Obrigado!
Contato:Alexandre Duarte – [email protected] Cirne – [email protected] Brasileiro – [email protected]ícia Machado – [email protected]
Páginas do projeto:http://gridunit.sourceforge.nethttp://www.ourgrid.org
![Page 12: GridUnit: Using the Computational Grid to Speed up Software Testing](https://reader035.vdocuments.site/reader035/viewer/2022070403/568139ff550346895da1c660/html5/thumbnails/12.jpg)
Sessão de Ferramentas – SBES 2005
Soluções Existentes
Dis
trib
uir
SelecionarPriorizar