Automated Builds and Testing Wm. Barrett Simms FrontRunnerMD [email protected] 781.405.4686 Twitter : @wbsimms
Dec 23, 2015
Whoami – Past to Present
Systems Administrator Linux – Solaris
Perl Java .NET/C# Agile Project Manager
I love what I do for work.
What you’ll learn How I build software How this helps teams Techniques Tools Show a fairly complete approach
Automated Build/Test Benefits
Process Personal
Merging Confidence
Onboarding employees Improved skills
Testing/QA Collective Ownership
Collaboration Communication
Mainline merge process
Build/Test Dev
branch
Build/Test Mainline
Merge Dev
branch to Mainline
Build/Test Mainline
Check code into Mainline
Buildservers
Developer merges to mainline
Buildserver gets changes
Buildserver builds, runs all tests and notifies team
Test results are published to team and viewable by all.
Common resistance
I can’t write unit tests because… I have a UI
WaitN, QTP, Selenium Fixing someone else’s poorly written code
Refactoring, training I use a database
The tricky part.
Databases – The tricky part
Common Questions How do I write unit tests when I require a
database How do I merge changes? How do I add default/test data? How do I update…
Buildserver Production site(s)
My one slide solution
Automated Build Server TFS
Auto Generate Database DumpDatabase/CreateDatabase
Automated Testing MSTest
Unit testing with the database Boy Scout Rule
Leave the campground cleaner than you found it.
At least… leave it as you found it.