SlideShare uma empresa Scribd logo
1 de 25
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Test Automation:
Agile Enablement for
Data Warehousing and
Business Intelligence Teams
Presented to Mile High Agile (MHA) 2016
April 4, 2016
Denver, Colorado
Lynn Winterboer, Agile Analytics Educator and Coach, @AgileLynn
Brad Ewald, DW/BI Solution Architect, @JBEwald
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Agenda
• Why is test automation important for agile data teams?
• Why aren’t all data teams automating their tests today?
• What is the path to test automation?
• What does simple DW test automation look like?
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Why is test automation important
to agile data teams?
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Agile Demands Something Different
Agile calls for small increments of
“potentially shippable code”.
That means QA is essential
on a regular, frequent basis.
How can we be sure
that something we do
here
Doesn’t break
something we did back
here
Test Suite Test
Suite
Test
Suite
Test
Suite
Test
Suite
Test
Suite
Test
Suite
Manual testing quickly becomes infeasible.
The test suite grows larger each iteration.
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Testing is Central to Agile
Agile BI development is driven by tests
Acceptance criteria are the definition of “done”
Passing tests are the measure of “done”
Regression tests are the measure of “still done”
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Agile Teams Understand…
… that test automation is
a key technical enabler
to “being agile”
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Why aren’t all data teams
automating their tests
today?
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
DW/BI Test Automation Challenges
Data industry does not focus on testing as much as
other disciplines:
Education
Team Members
Skills & Discipline
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
DW/BI Test Automation Challenges
Existing tools are not easily adapted to the data world:
Development Languages
Web, Mobile and UI Focus
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
DW/BI Test Automation Challenges
Good test data sets are hard to come by:
Large volumes (on small environments)
Shared test environments
Data sensitivity
Small sets need extra planning and design
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
What is the path
to test automation?
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Agile Testing Perspectives
High
Quality
DW/BI
System
3) Tools &
Automation
1) Attitudes &
Culture
2) Skills &
Practices
Testing is a Team Sport
Learning Culture
Build Quality In
Testing Skills
Test Design, Organization
& Maintenance
Repeatable Tests
Feedback Loops
Test Environment
Build Automation
Test Data Sets
Test Automation Tool
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Test Automation Pyramid
App
Tests
Acceptance Tests
Unit & Component Tests
Manual
Tests
Lisa Crispin & Janet Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams
Push as many tests as
possible to this layer
Write these in
business domain
language
Brittle tests that are
affected by UI changes
Subjective user feedback is essential
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Good Places to Start
 Unit tests on new development
 Regression tests you wish you had, before building
something new
 Deployment tests to ensure each build migrated
correctly
 Painful test setup or test execution prone to error
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
What does simple
data warehousing
test automation
look like?
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Basic Approach
Component
under test
Source
Schema
Target
Schema
Actual
Results
Test
Data
Test Runner
Setup Execute Test Report Clean Up
Static Test
Data
Expected
Results
Test
Queries
load test
data
compare
results
execute
tests
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Demonstration
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Testing Framework
Functionality and Components:
 Example data set
 SQL Server and related model
 Form for creating and describing tests
 Microsoft Access form
 Test execution
 SQL Server stored procedures (individual tests)
 Power Shell scripts (batch execution)
 BI Reports and Dashboards for monitoring
 MS Power BI
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
What Constitutes a Test?
Actual Result
(or Dataset)
Expected Result
(or Dataset)
Always a Query SQL Query or
Static Value
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved
Test Scenarios
1. Record Comparison
2. Sales Revenue Subject Area Test
3. Operational Data Quality Test
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Testing Demo
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Session Intent
1) Why:
Test Automation is key to DW/BI agile success
2) How:
Automate a solid testing practice; don’t automate chaos
3) Show:
DW/BI test automation is not that hard
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
DW/BI Test Automation Tools
Tool Description
DBFit
http://dbfit.github.io/dbfit/
Open source database testing tool
iCEDQ
http://icedq.com
A unified platform for ETL testing and data migration testing
Analytix Data Services
http://analytixds.com
Enterprise data mapping and ETL code automation,
including new automatic generation of reusable test cases
associated with Source to Target Mappings
WhereScape
https://www.wherescape.com
Data warehouse automation software, including a test
harness framework with user-configurable profiling
methods.
Tricentis Tosca
http://www.tricentis.com/tricentis-
tosca-testsuite/
DW-friendly test automation tool
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
DW/BI Test Automation References
Reference Description
Agile Analytics: A Value-Driven Approach to Business
Intelligence and Data Warehousing
by Dr. Ken Collier
Chapter 7: Test-Driven Data
Warehouse Development
Agile Data Warehousing for the Enterprise: A Guide for
Solution Architects and Project Leaders
By Ralph Hughes
Part V: Agile EDW Quality
Management Planning
Automated Data Warehouse Testing: Beginner’s Step-by-
Step Guide
by G. Suden
Java-based test automation for simple
data warehousing tests
Agile Testing: A Practical Guide for Testers and Agile Teams
by Lisa Crispin and Janet Gregory
Great introduction to agile testing for
any type of development
More Agile Testing: Learning Journeys for the Whole Team
by Lisa Crispin and Janet Gregory
Includes several chapters on test
automation as well as one dedicated
to agile testing for DW/BI
© 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com
Thank You!
Lynn Winterboer
Agile Analytics Educator & Coach
www.WinterboerAgileAnalytics.com
lynn@WinterboerAgileAnalytics.com
@agilelynn
Brad Ewald
DW/BI Solution Architect
Children’s Hospital Colorado
brad.ewald@gmail.com
@jbewald

Mais conteúdo relacionado

Mais procurados

SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...
SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...
SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...
Yuval Yeret
 
Techniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and FunTechniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and Fun
Fadi Stephan
 
Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...
Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...
Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...
MARRIS Consulting
 

Mais procurados (20)

The Agile BA
The Agile BAThe Agile BA
The Agile BA
 
Product Agility: 3 fundamentals from the trenches (Braga,PT)
Product Agility: 3 fundamentals from the trenches (Braga,PT)Product Agility: 3 fundamentals from the trenches (Braga,PT)
Product Agility: 3 fundamentals from the trenches (Braga,PT)
 
From Product Strategy to Backlog: Best Practices for Integrating Aha! Roadmap...
From Product Strategy to Backlog: Best Practices for Integrating Aha! Roadmap...From Product Strategy to Backlog: Best Practices for Integrating Aha! Roadmap...
From Product Strategy to Backlog: Best Practices for Integrating Aha! Roadmap...
 
Beyond the Crystal Ball –The Agile PMO - Heather Fleming and Justin Riservato
Beyond the Crystal Ball –The Agile PMO - Heather Fleming and Justin RiservatoBeyond the Crystal Ball –The Agile PMO - Heather Fleming and Justin Riservato
Beyond the Crystal Ball –The Agile PMO - Heather Fleming and Justin Riservato
 
Kanban Portfolio Management, a real case.
Kanban Portfolio Management, a real case.Kanban Portfolio Management, a real case.
Kanban Portfolio Management, a real case.
 
Prerequisites for Agility, T4AT 02-12-2021
Prerequisites for Agility, T4AT 02-12-2021Prerequisites for Agility, T4AT 02-12-2021
Prerequisites for Agility, T4AT 02-12-2021
 
Agile concepts for quality and process engineers for slideshare
Agile concepts for quality and process engineers   for slideshareAgile concepts for quality and process engineers   for slideshare
Agile concepts for quality and process engineers for slideshare
 
Intro to agile portfolio governance v6
Intro to agile portfolio governance   v6Intro to agile portfolio governance   v6
Intro to agile portfolio governance v6
 
Finding the First Slice
Finding the First SliceFinding the First Slice
Finding the First Slice
 
Scaling Product Thinking with SAFe - The Secret Sauce for Meaningful Product ...
Scaling Product Thinking with SAFe - The Secret Sauce for Meaningful Product ...Scaling Product Thinking with SAFe - The Secret Sauce for Meaningful Product ...
Scaling Product Thinking with SAFe - The Secret Sauce for Meaningful Product ...
 
Techniques for Keeping Distributed Retrospectives Effective and Fun
Techniques for Keeping Distributed Retrospectives Effective and FunTechniques for Keeping Distributed Retrospectives Effective and Fun
Techniques for Keeping Distributed Retrospectives Effective and Fun
 
SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...
SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...
SAFe for Marketing – Extending Towards Real Business Agility - Global SAFe Su...
 
10 Essential SAFe(tm) patterns you should focus on when scaling Agile
10 Essential SAFe(tm) patterns you should focus on when scaling Agile10 Essential SAFe(tm) patterns you should focus on when scaling Agile
10 Essential SAFe(tm) patterns you should focus on when scaling Agile
 
Techniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and FunTechniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and Fun
 
Agile and Continuous Delivery for Audits and Exams - DC Continuous Delivery M...
Agile and Continuous Delivery for Audits and Exams - DC Continuous Delivery M...Agile and Continuous Delivery for Audits and Exams - DC Continuous Delivery M...
Agile and Continuous Delivery for Audits and Exams - DC Continuous Delivery M...
 
Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...
Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...
Agile: the Good, the Bad and the Ugly - Webinar by Clarke Ching Agile - Septe...
 
Visualization in Agile
Visualization in AgileVisualization in Agile
Visualization in Agile
 
Enterprise Dojos: Values, Principles, and Cultural Perspective
Enterprise Dojos: Values, Principles, and Cultural PerspectiveEnterprise Dojos: Values, Principles, and Cultural Perspective
Enterprise Dojos: Values, Principles, and Cultural Perspective
 
Heart of agile by Pierre Hervouet
Heart of agile by Pierre HervouetHeart of agile by Pierre Hervouet
Heart of agile by Pierre Hervouet
 
10 Steps to Developing Great Ideas on time and on budget using Lean & Agile...
10 Steps to Developing Great Ideas on time and on budget using Lean & Agile...10 Steps to Developing Great Ideas on time and on budget using Lean & Agile...
10 Steps to Developing Great Ideas on time and on budget using Lean & Agile...
 

Destaque

Hands on training on DbFit Part-II
Hands on training on DbFit Part-IIHands on training on DbFit Part-II
Hands on training on DbFit Part-II
Babul Mirdha
 
Effective Test Driven Database Development
Effective Test Driven Database DevelopmentEffective Test Driven Database Development
Effective Test Driven Database Development
elliando dias
 
Hands on training on DbFit Part-I
Hands on training on DbFit Part-IHands on training on DbFit Part-I
Hands on training on DbFit Part-I
Babul Mirdha
 

Destaque (20)

Deliberate Practice (Agile Slovenia 2015)
Deliberate Practice (Agile Slovenia 2015)Deliberate Practice (Agile Slovenia 2015)
Deliberate Practice (Agile Slovenia 2015)
 
Hands on training on DbFit Part-II
Hands on training on DbFit Part-IIHands on training on DbFit Part-II
Hands on training on DbFit Part-II
 
Testing regression
Testing regressionTesting regression
Testing regression
 
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
 
Effective Test Driven Database Development
Effective Test Driven Database DevelopmentEffective Test Driven Database Development
Effective Test Driven Database Development
 
見守りサービスMiimaミーマ 資料
見守りサービスMiimaミーマ 資料見守りサービスMiimaミーマ 資料
見守りサービスMiimaミーマ 資料
 
Open Source BI Overview
Open Source BI Overview Open Source BI Overview
Open Source BI Overview
 
Sigist Presentation 091208 V2.0
Sigist Presentation 091208 V2.0Sigist Presentation 091208 V2.0
Sigist Presentation 091208 V2.0
 
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
 
Agile WTF
Agile WTFAgile WTF
Agile WTF
 
Hands on training on DbFit Part-I
Hands on training on DbFit Part-IHands on training on DbFit Part-I
Hands on training on DbFit Part-I
 
Discover the power of pair testing
Discover the power of pair testingDiscover the power of pair testing
Discover the power of pair testing
 
The Six Trumps for Effective Learning - Mile High Agile 2016
The Six Trumps for Effective Learning - Mile High Agile 2016The Six Trumps for Effective Learning - Mile High Agile 2016
The Six Trumps for Effective Learning - Mile High Agile 2016
 
Agile Methods and Data Warehousing (2016 update)
Agile Methods and Data Warehousing (2016 update)Agile Methods and Data Warehousing (2016 update)
Agile Methods and Data Warehousing (2016 update)
 
From Divided to United - Aligning Technical & Business Teams
From Divided to United - Aligning Technical & Business Teams From Divided to United - Aligning Technical & Business Teams
From Divided to United - Aligning Technical & Business Teams
 
Improve the Health of Your Data
Improve the Health of Your DataImprove the Health of Your Data
Improve the Health of Your Data
 
Query Wizards - data testing made easy - no programming
Query Wizards - data testing made easy - no programmingQuery Wizards - data testing made easy - no programming
Query Wizards - data testing made easy - no programming
 
Improv: The Funny Thing about Agile
Improv: The Funny Thing about AgileImprov: The Funny Thing about Agile
Improv: The Funny Thing about Agile
 
QuerySurge - the automated Data Testing solution
QuerySurge - the automated Data Testing solutionQuerySurge - the automated Data Testing solution
QuerySurge - the automated Data Testing solution
 
Using Flow-based Road Mapping & Options
Using Flow-based Road Mapping & OptionsUsing Flow-based Road Mapping & Options
Using Flow-based Road Mapping & Options
 

Semelhante a Lynn Winterboer : Test automation

Naveen_Resume1
Naveen_Resume1Naveen_Resume1
Naveen_Resume1
Naveen K K
 
Web analyticsandbigdata techweek2011
Web analyticsandbigdata techweek2011Web analyticsandbigdata techweek2011
Web analyticsandbigdata techweek2011
Raghu Kashyap
 

Semelhante a Lynn Winterboer : Test automation (20)

Test Automation for Data-Centric Applications
Test Automation for Data-Centric ApplicationsTest Automation for Data-Centric Applications
Test Automation for Data-Centric Applications
 
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
 
Case Study: SunTrust’s Next Gen QA and Release Services Transformation Journey
Case Study: SunTrust’s Next Gen QA and Release Services Transformation JourneyCase Study: SunTrust’s Next Gen QA and Release Services Transformation Journey
Case Study: SunTrust’s Next Gen QA and Release Services Transformation Journey
 
AI for Analysts June 2016
AI for Analysts June 2016AI for Analysts June 2016
AI for Analysts June 2016
 
Naveen_Resume1
Naveen_Resume1Naveen_Resume1
Naveen_Resume1
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
 
AWS and Dynatrace: Moving your Cloud Strategy to the Next Level
AWS and Dynatrace: Moving your Cloud Strategy to the Next LevelAWS and Dynatrace: Moving your Cloud Strategy to the Next Level
AWS and Dynatrace: Moving your Cloud Strategy to the Next Level
 
Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018
 
Code vigil
Code vigilCode vigil
Code vigil
 
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
 
Traditional Testing: The Silent Killer of DevOps
Traditional Testing: The Silent Killer of DevOpsTraditional Testing: The Silent Killer of DevOps
Traditional Testing: The Silent Killer of DevOps
 
Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...
Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...
Live Webinar- Making Test Automation 10x Faster for Continuous Delivery- By R...
 
Agile Testing 2020
Agile Testing 2020Agile Testing 2020
Agile Testing 2020
 
Dev ops in agile - 1st Conference Melbourne
Dev ops in agile - 1st Conference MelbourneDev ops in agile - 1st Conference Melbourne
Dev ops in agile - 1st Conference Melbourne
 
Use Layered Model-Based Requirements to Achieve Continuous Testing
Use Layered Model-Based Requirements to Achieve Continuous TestingUse Layered Model-Based Requirements to Achieve Continuous Testing
Use Layered Model-Based Requirements to Achieve Continuous Testing
 
Managing Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the EnterpriseManaging Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the Enterprise
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
 
Web analyticsandbigdata techweek2011
Web analyticsandbigdata techweek2011Web analyticsandbigdata techweek2011
Web analyticsandbigdata techweek2011
 
Hands-On Lab: Increase Velocity with the CA Performance Management OpenAPI ...
Hands-On Lab: Increase Velocity with the CA Performance Management OpenAPI ...Hands-On Lab: Increase Velocity with the CA Performance Management OpenAPI ...
Hands-On Lab: Increase Velocity with the CA Performance Management OpenAPI ...
 
AI Planning Workshop overview
AI Planning Workshop overviewAI Planning Workshop overview
AI Planning Workshop overview
 

Mais de AgileDenver

MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...
MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...
MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...
AgileDenver
 

Mais de AgileDenver (20)

MHA2018 - BDD is JIT - Jeff Langr
MHA2018 - BDD is JIT - Jeff LangrMHA2018 - BDD is JIT - Jeff Langr
MHA2018 - BDD is JIT - Jeff Langr
 
MHA2018 - How the Marine Corps Creates High-Performing Teams - Andrew McKnigh...
MHA2018 - How the Marine Corps Creates High-Performing Teams - Andrew McKnigh...MHA2018 - How the Marine Corps Creates High-Performing Teams - Andrew McKnigh...
MHA2018 - How the Marine Corps Creates High-Performing Teams - Andrew McKnigh...
 
MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...
MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...
MHA2018 - Your Agile Adoption is Going to Fail (and you're gonna fall right o...
 
MHA2018 - 3 Minute Improv Games to Improve Your Teams - Wayde Stallmann
MHA2018 - 3 Minute Improv Games to Improve Your Teams - Wayde StallmannMHA2018 - 3 Minute Improv Games to Improve Your Teams - Wayde Stallmann
MHA2018 - 3 Minute Improv Games to Improve Your Teams - Wayde Stallmann
 
MHA2018 - Rebuilding Trust through Transparency - Meg Ward
MHA2018 - Rebuilding Trust through Transparency - Meg WardMHA2018 - Rebuilding Trust through Transparency - Meg Ward
MHA2018 - Rebuilding Trust through Transparency - Meg Ward
 
MHA2018 - The Experimentation Mindset - Doc Norton
MHA2018 - The Experimentation Mindset - Doc NortonMHA2018 - The Experimentation Mindset - Doc Norton
MHA2018 - The Experimentation Mindset - Doc Norton
 
MHA2018 - Only Responsible Leaders Can Collaborate in a High-Functioning Team...
MHA2018 - Only Responsible Leaders Can Collaborate in a High-Functioning Team...MHA2018 - Only Responsible Leaders Can Collaborate in a High-Functioning Team...
MHA2018 - Only Responsible Leaders Can Collaborate in a High-Functioning Team...
 
MHA2018 - Herbie - understanding and applying WiP limits effectively - John Y...
MHA2018 - Herbie - understanding and applying WiP limits effectively - John Y...MHA2018 - Herbie - understanding and applying WiP limits effectively - John Y...
MHA2018 - Herbie - understanding and applying WiP limits effectively - John Y...
 
MHA2018 - It's a "self-organizing" team -- how can I help them? - Erika Lenz
MHA2018 - It's a "self-organizing" team -- how can I help them? - Erika LenzMHA2018 - It's a "self-organizing" team -- how can I help them? - Erika Lenz
MHA2018 - It's a "self-organizing" team -- how can I help them? - Erika Lenz
 
MHA2018 - Validate It Before You Build It: The Experiment Canvas - Brad Swanson
MHA2018 - Validate It Before You Build It: The Experiment Canvas - Brad SwansonMHA2018 - Validate It Before You Build It: The Experiment Canvas - Brad Swanson
MHA2018 - Validate It Before You Build It: The Experiment Canvas - Brad Swanson
 
MHA2018 - How Agile Coaching Practices Can Be Used in Schools To Get Students...
MHA2018 - How Agile Coaching Practices Can Be Used in Schools To Get Students...MHA2018 - How Agile Coaching Practices Can Be Used in Schools To Get Students...
MHA2018 - How Agile Coaching Practices Can Be Used in Schools To Get Students...
 
MHA2018 - Going with the Flow: Adapting Scrum Practices for Marketing - Andre...
MHA2018 - Going with the Flow: Adapting Scrum Practices for Marketing - Andre...MHA2018 - Going with the Flow: Adapting Scrum Practices for Marketing - Andre...
MHA2018 - Going with the Flow: Adapting Scrum Practices for Marketing - Andre...
 
MHA2018 - When will it be done - Probabilistic Predictions - Prateek Singh
MHA2018 - When will it be done - Probabilistic Predictions - Prateek SinghMHA2018 - When will it be done - Probabilistic Predictions - Prateek Singh
MHA2018 - When will it be done - Probabilistic Predictions - Prateek Singh
 
MHA2018 - Docker and Jenkins Pipeline for Continuous integration - Mark Waite
MHA2018 - Docker and Jenkins Pipeline for Continuous integration - Mark WaiteMHA2018 - Docker and Jenkins Pipeline for Continuous integration - Mark Waite
MHA2018 - Docker and Jenkins Pipeline for Continuous integration - Mark Waite
 
MHA2018 - Jen Krieger - Getting Started with Kanban
MHA2018 - Jen Krieger - Getting Started with KanbanMHA2018 - Jen Krieger - Getting Started with Kanban
MHA2018 - Jen Krieger - Getting Started with Kanban
 
MHA2018 - The Immunity to Change - How to discover individual or team resista...
MHA2018 - The Immunity to Change - How to discover individual or team resista...MHA2018 - The Immunity to Change - How to discover individual or team resista...
MHA2018 - The Immunity to Change - How to discover individual or team resista...
 
MHA2018 - How Agile connects to the Social Nature of a High-Performance Workp...
MHA2018 - How Agile connects to the Social Nature of a High-Performance Workp...MHA2018 - How Agile connects to the Social Nature of a High-Performance Workp...
MHA2018 - How Agile connects to the Social Nature of a High-Performance Workp...
 
MHA2018 - Workbook Breaking Out of The Rut-rospective: Finding Activities to ...
MHA2018 - Workbook Breaking Out of The Rut-rospective: Finding Activities to ...MHA2018 - Workbook Breaking Out of The Rut-rospective: Finding Activities to ...
MHA2018 - Workbook Breaking Out of The Rut-rospective: Finding Activities to ...
 
MHA2018 - Breaking Out of The Rut-rospective: Finding Activities to Engage Yo...
MHA2018 - Breaking Out of The Rut-rospective: Finding Activities to Engage Yo...MHA2018 - Breaking Out of The Rut-rospective: Finding Activities to Engage Yo...
MHA2018 - Breaking Out of The Rut-rospective: Finding Activities to Engage Yo...
 
MHA2018 - Introduction to Observational Coaching - Daniel Lynn
MHA2018 - Introduction to Observational Coaching - Daniel LynnMHA2018 - Introduction to Observational Coaching - Daniel Lynn
MHA2018 - Introduction to Observational Coaching - Daniel Lynn
 

Último

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 

Último (20)

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

Lynn Winterboer : Test automation

  • 1. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Test Automation: Agile Enablement for Data Warehousing and Business Intelligence Teams Presented to Mile High Agile (MHA) 2016 April 4, 2016 Denver, Colorado Lynn Winterboer, Agile Analytics Educator and Coach, @AgileLynn Brad Ewald, DW/BI Solution Architect, @JBEwald
  • 2. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Agenda • Why is test automation important for agile data teams? • Why aren’t all data teams automating their tests today? • What is the path to test automation? • What does simple DW test automation look like?
  • 3. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Why is test automation important to agile data teams?
  • 4. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Agile Demands Something Different Agile calls for small increments of “potentially shippable code”. That means QA is essential on a regular, frequent basis. How can we be sure that something we do here Doesn’t break something we did back here Test Suite Test Suite Test Suite Test Suite Test Suite Test Suite Test Suite Manual testing quickly becomes infeasible. The test suite grows larger each iteration.
  • 5. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Testing is Central to Agile Agile BI development is driven by tests Acceptance criteria are the definition of “done” Passing tests are the measure of “done” Regression tests are the measure of “still done”
  • 6. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Agile Teams Understand… … that test automation is a key technical enabler to “being agile”
  • 7. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Why aren’t all data teams automating their tests today?
  • 8. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com DW/BI Test Automation Challenges Data industry does not focus on testing as much as other disciplines: Education Team Members Skills & Discipline
  • 9. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com DW/BI Test Automation Challenges Existing tools are not easily adapted to the data world: Development Languages Web, Mobile and UI Focus
  • 10. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com DW/BI Test Automation Challenges Good test data sets are hard to come by: Large volumes (on small environments) Shared test environments Data sensitivity Small sets need extra planning and design
  • 11. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com What is the path to test automation?
  • 12. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Agile Testing Perspectives High Quality DW/BI System 3) Tools & Automation 1) Attitudes & Culture 2) Skills & Practices Testing is a Team Sport Learning Culture Build Quality In Testing Skills Test Design, Organization & Maintenance Repeatable Tests Feedback Loops Test Environment Build Automation Test Data Sets Test Automation Tool
  • 13. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Test Automation Pyramid App Tests Acceptance Tests Unit & Component Tests Manual Tests Lisa Crispin & Janet Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams Push as many tests as possible to this layer Write these in business domain language Brittle tests that are affected by UI changes Subjective user feedback is essential
  • 14. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Good Places to Start  Unit tests on new development  Regression tests you wish you had, before building something new  Deployment tests to ensure each build migrated correctly  Painful test setup or test execution prone to error
  • 15. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com What does simple data warehousing test automation look like?
  • 16. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Basic Approach Component under test Source Schema Target Schema Actual Results Test Data Test Runner Setup Execute Test Report Clean Up Static Test Data Expected Results Test Queries load test data compare results execute tests
  • 17. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Demonstration
  • 18. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Testing Framework Functionality and Components:  Example data set  SQL Server and related model  Form for creating and describing tests  Microsoft Access form  Test execution  SQL Server stored procedures (individual tests)  Power Shell scripts (batch execution)  BI Reports and Dashboards for monitoring  MS Power BI
  • 19. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com What Constitutes a Test? Actual Result (or Dataset) Expected Result (or Dataset) Always a Query SQL Query or Static Value
  • 20. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com© Ken Collier, 2016, All Rights Reserved Test Scenarios 1. Record Comparison 2. Sales Revenue Subject Area Test 3. Operational Data Quality Test
  • 21. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Testing Demo
  • 22. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Session Intent 1) Why: Test Automation is key to DW/BI agile success 2) How: Automate a solid testing practice; don’t automate chaos 3) Show: DW/BI test automation is not that hard
  • 23. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com DW/BI Test Automation Tools Tool Description DBFit http://dbfit.github.io/dbfit/ Open source database testing tool iCEDQ http://icedq.com A unified platform for ETL testing and data migration testing Analytix Data Services http://analytixds.com Enterprise data mapping and ETL code automation, including new automatic generation of reusable test cases associated with Source to Target Mappings WhereScape https://www.wherescape.com Data warehouse automation software, including a test harness framework with user-configurable profiling methods. Tricentis Tosca http://www.tricentis.com/tricentis- tosca-testsuite/ DW-friendly test automation tool
  • 24. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com DW/BI Test Automation References Reference Description Agile Analytics: A Value-Driven Approach to Business Intelligence and Data Warehousing by Dr. Ken Collier Chapter 7: Test-Driven Data Warehouse Development Agile Data Warehousing for the Enterprise: A Guide for Solution Architects and Project Leaders By Ralph Hughes Part V: Agile EDW Quality Management Planning Automated Data Warehouse Testing: Beginner’s Step-by- Step Guide by G. Suden Java-based test automation for simple data warehousing tests Agile Testing: A Practical Guide for Testers and Agile Teams by Lisa Crispin and Janet Gregory Great introduction to agile testing for any type of development More Agile Testing: Learning Journeys for the Whole Team by Lisa Crispin and Janet Gregory Includes several chapters on test automation as well as one dedicated to agile testing for DW/BI
  • 25. © 2016 by Winterboer Agile Analytics  www.WinterboerAgileAnalytics.com Thank You! Lynn Winterboer Agile Analytics Educator & Coach www.WinterboerAgileAnalytics.com lynn@WinterboerAgileAnalytics.com @agilelynn Brad Ewald DW/BI Solution Architect Children’s Hospital Colorado brad.ewald@gmail.com @jbewald

Notas do Editor

  1. Bring: Big stickies with markers for the parking lot Business Cards Laptop and power cord
  2. Agile requires that we include QA activities in every iteration to verify that we are building shippable quality code. Agile requires that we include regression testing in every iteration to ensure that we aren’t breaking previously working components. Agile requires that we automate our tests so that regression testing doesn’t become a development bottleneck.
  3. Effective Agile testing involves 3 key factors: Tools for automated testing – This is relatively easy to adopt and learn. Typically takes a technical team less than a week to stand up this environment. Principles and practices for effective testing – This requires discipline and commitment, and is more challenging than tools and automation. A culture and attitude that values high quality in everything – This is the hardest factor to “teach” and to change.
  4. Unlike conventional testing, which relies heavily on system and integration testing, Agile testing is principally supported by unit and component testing. Unit & Component Testing – The technology-facing tests that support the development team Made up of robust and fully automated unit and component tests Highest percentage of automated tests Written in the same language as the system under test (e.g., SQL) Customers do not need to be able to read these tests These tests are by far the quickest and easiest to write They provide the quickest feedback, making them highly valuable These tests have the highest ROI by far! Acceptance Tests - The business-facing tests that support the development team by testing underneath the GUI Functional tests that validate that we are building the right thing Tests that cover broader chunks of business meaning or semantics These tests are easier to write since they are underneath the BI application layer These tests generally run more slowly since they cover more ground than unit tests Try to write these tests in a domain specific language (not SQL) so that customers can understand them. This takes more time. The feedback is quick, but not as quick as unit tests. Therefore ROI is moderate. BI Application Tests - The business-facing tests that validate that we’ve built the right product by testing the user experience Testing through the UI to validate the proper behavior and data under all usage scenarios More expensive to write and adversely affected by changes to the UI These tests tend to be written after development is complete These tests are slower to run since they rely on the UI layer These test provide a lot of value, but a relative low ROI Manual Tests - Actual users performing exploratory testing on the BI applications Subjective but invaluable mechanism for customer feedback ROI is high as long as the other layers are robust, otherwise ROI is low Users gain confidence in data validity through lower layers, and provide usability feedback at this layer
  5. The fundamental steps in database test automation process are: Load a fixed set of test data Run the process that is under test Verify the result set Return everything to the way you found it Database test automation involves these elements: The component under test is generally an ETL module, SQL script, stored procedure, or other functional component. The static test data is carefully constructed, as small as possible, and stored in version control. The test queries and expected results are constructed with respect to the static test data. The test runner handles everything else.