Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.
-
Upload
hester-powers -
Category
Documents
-
view
217 -
download
0
description
Transcript of Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.
![Page 1: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/1.jpg)
Experience Report: Test Automation in an Agile Environment
Len VazOct 13, 2010
![Page 2: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/2.jpg)
Software Development Process
• 1 week sprints• No UATs• Use Jira for Bug Tracking• Use Grass Hopper for user stories• Test cases tied to user stories• Corresponding blank test cases entered into
the automation framework• Automated builds using Hudson
![Page 3: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/3.jpg)
Review the product
• Documentation• Engineering• Product organization
![Page 4: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/4.jpg)
Breaking down system to test
installer
browser
console
Malware database
Malware analyzer
![Page 5: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/5.jpg)
Test Environment
• Architecture• Hardware• Software• Tools
![Page 6: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/6.jpg)
Architecture
Controller – Chameleon3
SUT – Chameleon4 SUT – Chameleon2 SUT – Chameleon1
SUT – chameleon5-8
Hudson – build machine1
2
3
4
5
6
78
9
10
1. Controller polls Hudson2. a: c:\rundir\doWeHaveANewBuid.py – builds a test package2. b: chameleonTest.py – reimages SUT (xp, vb, vu or w7), distributes test package and runs it3. Test package is distributed and run4. Results of tests are written back to a mysql database on the controller
An IIS server on the controller hosts a PHP server that has reports that display the test results
SUT – chameleon5-8 – future expansionxp - XP Professional SP3vb – Vista Business SP2vu – Vista Ultimate SP1w7 – Windows 7 SP1
![Page 7: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/7.jpg)
Database schematests
PK,FK7 run_idPK id
FK2 test_idFK1 os_idFK5 testname_idFK6 testmachine_id reason start_time end_timeFK8 build_idFK3 status_idFK4 sp_idFK9 user_id
test
PK test_id
test_type
os
PK os_id
os_type
servicepacks
PK sp_id
sp_name
status
PK status_id
status_type
testname
PK testname_id
name description
testmachine
PK testmachine_id
name
run
PK run_id
testmachine_id start_time end_time
builds
PK build_id
name
user
PK user_id
name
performance
PK performance_test_run_id
FK1 testname_idFK2 testmachine_idFK3 os_idFK4 build_id duration
![Page 8: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/8.jpg)
Resources
• Hardware• Software• People (Planning)• Standards
![Page 9: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/9.jpg)
Automation
• IDE– Eclipse Downloads– Pydev - Python IDE for Eclipse
• Frameworks– PyUnit - Python Unit Testing Framework
• Setting up common code• Standards
![Page 10: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/10.jpg)
Reporting
• Using Visualizations• Interactive Charts• Google Visualization API Reference
![Page 11: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/11.jpg)
Report
![Page 12: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/12.jpg)
Report Header
![Page 13: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/13.jpg)
Report Details
![Page 14: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/14.jpg)
Report Details
![Page 15: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/15.jpg)
Report Performance
![Page 16: Experience Report: Test Automation in an Agile Environment Len Vaz Oct 13, 2010.](https://reader035.fdocuments.in/reader035/viewer/2022062523/5a4d1af27f8b9ab05997ee2d/html5/thumbnails/16.jpg)
Lessons learned
• Continuous improvement• Continuous integration testing• No TDD – lot more work for QA• Lack of Infrastructure integrated testing• Estimation is not an easy process• Without reporting – no extra resources