Improve Development Process with Open Source SoftwarePresentation Transcript
Improve Development Process with Open Source Software Wen Tao senior consultant wtao @thoughtworks.com Xi’an Software Park, Xi’an High-tech Development Zone, Xi’an Shaanxi, P. R. China, 710075 cell +86. 13 8 . 1030 . 2515 office +86.29.8760.7341 陈金洲 senior consultant jchen @thoughtworks.com Xi’an Software Park, Xi’an High-tech Development Zone, Xi’an Shaanxi, P. R. China, 710075 cell +86. 139.9197.1753 office +86.29.8760.7341
How do we test the web project?
What’s our daily development like?
Happy or painful?
Share your experience!
Functional Test For Web app
Development Acceptance Testing Regression Testing Release
Developers have moved on
Too close to release
Feature developed Bug found! Regression found!
Development Acceptance Testing Regression Testing Release Write test as you go Run them as often as you can Problems are found quickly
Manual testing is slow, tedious and error-prone
Especially for regression
Either take long time or less thorough What now? Start again? Regression Testing 3 months
Consistently Thorough Fast enough to start again and again and again… Regression Testing 10 minutes
Open source test tool for web applications.
Run in browser
Test browser compatibility & system functionality.
Easy to use.
Test cases are written in pure HTML
Clean and impressive UI
What is Continuous Integration
Integrates source code and runs tests after each commit of code to the source repository.
Build loop of C.C. VCS Build Artifacts Dir Mail/Sound/Light… 1. Bootstrap 2. Check for modifications 3. Get the revision log Cruise Control Your project’s Build file Ant, Maven, Make 2. Run Build 5. Publish Artifacts 6. Send to publisher 1. Get the latest source 3. Tag source (optional) Project Specific Adapter - Ant Script 4. Run Build
DRY, use automation test/continuous tools help you improve your development process, and maximize customer value.
Selenium helps you test webapp more easily.
Keep CruiseControl running. it gives you feedback as soon as possible.
Mike Clark, author of Pragmatic Project Automation