SlideShare a Scribd company logo
1 of 16
• Challenges in Finance
• How to Automate
1. Automation Tools
2. Getting the Basics Right
3. One Size Does Not Fit All
4. Build the Team
5. Coverage – Science or Craft?
6. Get Inside the Code!
7. Pick your Arguments
8. Incentivise Good Behaviour
Test Automation
John Stinson
Challenges in Finance
• Finance IS technology
• Complexity is higher than ever before
• Mergers have lead to accumulation of systems
• Increased regulations have increased pressure
• Teams are frequently spread globally
• Volumes have increased 20 times since 1995
• Latencies have decreased to milliseconds
• Proliferation of custom software. Approval to use open-source takes
time.
• Operations separated from developers via entitlements
• No sharing of information via blogs or social media
• Different personalities, some driving automation, some not
• Automation may pay off in 2-3 years. Bonus cycle is annual
1) Automation Approaches
• Server
– Unit Tests eg JUnit
– Fluent Tests eg AssertJ, FEST
– Message Record/Replay, eg Rational Integration Tester
– Custom Frameworks
– BDD: Cucumber Ruby or JVM
– Prod Log File Replay
• GUI
– Unit Tests
– BDD: Specflow
– Selenium (Web)
– QTP, UFT, TestComplete
– Bitmap eg Sikuli
Cheaper
To
Maintain
- How easy to Maintain?
2) Get the Basics Right
• Stub the Interfaces!
• Lock the Data Down
• Sort Out the Environments!
3) One Size Does Not Fit All
Different Approaches for Different
Sizes
Statement,
Method,
Class,
Component
System
Unit/Fluent/BDD
Message Replay,
Custom Framework,
BDD
GUI
Google Testing Sizes
Simon Stewart
Different Approaches for
Different Lines of Business
Different Approaches for
Different Lifecycle Stages
Cutting Edge
Proceed Cautiously
Stable
Move Forward
Legacy
Handle with Care
Focus on Changes or Wrap with Cheap Regression
Dev/
BA
BA/
QA
BA/
QA
Dev/
Envt/
Auto
Dev/
Envt/
Auto
Dev/
Envt/
Auto
Dev/
Envt/
Auto
Dev/
BA
Dev/
BA
Dev/
BA
Dev in
Test
Classic BDD
Developer in Test
Dev/
BA
Dev/
Envt/
Auto
Dev/
Envt/
Auto
Dev/
Envt/
Auto
Dev/
Envt/
Auto
Dev/
Envt/
Auto
BA
Dev/
Envt/
Auto
Developer Quality Mentality
Gherkins
Developers automate
Dev in
Test
Dedicated
automators help
keep pace
Automation focused
Dev lead drives team behaviour
4) Team Models that Work
Devs
write
frame-
work Dev in
Test
BA/
QA
QAQA checks coverage
5) Coverage
Science or Art?
Science of Coverage
2*12*2*2*2*4*10 = 7680
Understand Risk
Perform Exploratory Testing
Summarise Coverage to Stakeholders
Art of Coverage
6) Get Inside the Code!
Diff Code to understand risk of late changes
View Unit Test Code Coverage in Intellij
Find interesting edge cases in C# using PEX
Analyse Dependency Graph in Java
Analyse Performance with jvisualvm
7) Pick your Arguments
• Teamcity vs Jenkins?
• Cucumber Ruby vs Cucumber JVM?
• Config Management in SVN or GIT/Stash?
• Certain level of unit test Coverage?
• Code review process?
8) Incentivise Good Behaviour with
Metrics
• What are we trying
to achieve?
• How many test scenarios automated out of
the manual pack?
• Unit test coverage?
• Total time taken to test?
• Production defects?

More Related Content

More from MagenTys

2 speed IT and how to get there
2 speed IT and how to get there2 speed IT and how to get there
2 speed IT and how to get thereMagenTys
 
How Retail Store Design Enhances Customer Experience
 How Retail Store Design Enhances Customer Experience How Retail Store Design Enhances Customer Experience
How Retail Store Design Enhances Customer ExperienceMagenTys
 
The Blurring Line Between Online and Offline Commerce Experiences
The Blurring Line Between Online and Offline Commerce ExperiencesThe Blurring Line Between Online and Offline Commerce Experiences
The Blurring Line Between Online and Offline Commerce ExperiencesMagenTys
 
Ed Oughton 2015 digital communications for a digital economy
Ed Oughton 2015 digital communications for a digital economyEd Oughton 2015 digital communications for a digital economy
Ed Oughton 2015 digital communications for a digital economyMagenTys
 
Cambridge meetup
Cambridge meetupCambridge meetup
Cambridge meetupMagenTys
 
Bdd masterclass
Bdd masterclassBdd masterclass
Bdd masterclassMagenTys
 
John Muir presentation
John Muir presentationJohn Muir presentation
John Muir presentationMagenTys
 
Alex Sbardella presentation
Alex Sbardella presentationAlex Sbardella presentation
Alex Sbardella presentationMagenTys
 
Craig Smith presentation
Craig Smith presentationCraig Smith presentation
Craig Smith presentationMagenTys
 

More from MagenTys (9)

2 speed IT and how to get there
2 speed IT and how to get there2 speed IT and how to get there
2 speed IT and how to get there
 
How Retail Store Design Enhances Customer Experience
 How Retail Store Design Enhances Customer Experience How Retail Store Design Enhances Customer Experience
How Retail Store Design Enhances Customer Experience
 
The Blurring Line Between Online and Offline Commerce Experiences
The Blurring Line Between Online and Offline Commerce ExperiencesThe Blurring Line Between Online and Offline Commerce Experiences
The Blurring Line Between Online and Offline Commerce Experiences
 
Ed Oughton 2015 digital communications for a digital economy
Ed Oughton 2015 digital communications for a digital economyEd Oughton 2015 digital communications for a digital economy
Ed Oughton 2015 digital communications for a digital economy
 
Cambridge meetup
Cambridge meetupCambridge meetup
Cambridge meetup
 
Bdd masterclass
Bdd masterclassBdd masterclass
Bdd masterclass
 
John Muir presentation
John Muir presentationJohn Muir presentation
John Muir presentation
 
Alex Sbardella presentation
Alex Sbardella presentationAlex Sbardella presentation
Alex Sbardella presentation
 
Craig Smith presentation
Craig Smith presentationCraig Smith presentation
Craig Smith presentation
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

John Stinson Test Automation In Finance

  • 1. • Challenges in Finance • How to Automate 1. Automation Tools 2. Getting the Basics Right 3. One Size Does Not Fit All 4. Build the Team 5. Coverage – Science or Craft? 6. Get Inside the Code! 7. Pick your Arguments 8. Incentivise Good Behaviour Test Automation John Stinson
  • 2. Challenges in Finance • Finance IS technology • Complexity is higher than ever before • Mergers have lead to accumulation of systems • Increased regulations have increased pressure • Teams are frequently spread globally • Volumes have increased 20 times since 1995 • Latencies have decreased to milliseconds • Proliferation of custom software. Approval to use open-source takes time. • Operations separated from developers via entitlements • No sharing of information via blogs or social media • Different personalities, some driving automation, some not • Automation may pay off in 2-3 years. Bonus cycle is annual
  • 3. 1) Automation Approaches • Server – Unit Tests eg JUnit – Fluent Tests eg AssertJ, FEST – Message Record/Replay, eg Rational Integration Tester – Custom Frameworks – BDD: Cucumber Ruby or JVM – Prod Log File Replay • GUI – Unit Tests – BDD: Specflow – Selenium (Web) – QTP, UFT, TestComplete – Bitmap eg Sikuli Cheaper To Maintain - How easy to Maintain?
  • 4. 2) Get the Basics Right • Stub the Interfaces! • Lock the Data Down • Sort Out the Environments!
  • 5. 3) One Size Does Not Fit All
  • 6. Different Approaches for Different Sizes Statement, Method, Class, Component System Unit/Fluent/BDD Message Replay, Custom Framework, BDD GUI
  • 9. Different Approaches for Different Lifecycle Stages Cutting Edge Proceed Cautiously Stable Move Forward Legacy Handle with Care Focus on Changes or Wrap with Cheap Regression
  • 10. Dev/ BA BA/ QA BA/ QA Dev/ Envt/ Auto Dev/ Envt/ Auto Dev/ Envt/ Auto Dev/ Envt/ Auto Dev/ BA Dev/ BA Dev/ BA Dev in Test Classic BDD Developer in Test Dev/ BA Dev/ Envt/ Auto Dev/ Envt/ Auto Dev/ Envt/ Auto Dev/ Envt/ Auto Dev/ Envt/ Auto BA Dev/ Envt/ Auto Developer Quality Mentality Gherkins Developers automate Dev in Test Dedicated automators help keep pace Automation focused Dev lead drives team behaviour 4) Team Models that Work Devs write frame- work Dev in Test BA/ QA QAQA checks coverage
  • 13. Understand Risk Perform Exploratory Testing Summarise Coverage to Stakeholders Art of Coverage
  • 14. 6) Get Inside the Code! Diff Code to understand risk of late changes View Unit Test Code Coverage in Intellij Find interesting edge cases in C# using PEX Analyse Dependency Graph in Java Analyse Performance with jvisualvm
  • 15. 7) Pick your Arguments • Teamcity vs Jenkins? • Cucumber Ruby vs Cucumber JVM? • Config Management in SVN or GIT/Stash? • Certain level of unit test Coverage? • Code review process?
  • 16. 8) Incentivise Good Behaviour with Metrics • What are we trying to achieve? • How many test scenarios automated out of the manual pack? • Unit test coverage? • Total time taken to test? • Production defects?