SlideShare a Scribd company logo
1 of 19
You don’t run unit tests concurrently.
Do you?
30 January 2015
Martin Škurla, Equities IT, Core team
2 | You don’t run tests concurrently. Do you? | 30 January 2015
Why ?
3 | You don’t run tests concurrently. Do you? | 30 January 2015
Performance
4 | You don’t run tests concurrently. Do you? | 30 January 2015
Performance
5 | You don’t run tests concurrently. Do you? | 30 January 2015
Performance
Isolation
6 | You don’t run tests concurrently. Do you? | 30 January 2015
Test granularities
7 | You don’t run tests concurrently. Do you? | 30 January 2015
Test suites
8 | You don’t run tests concurrently. Do you? | 30 January 2015
Test suites
Test classes
9 | You don’t run tests concurrently. Do you? | 30 January 2015
Test suites
Test classes
Test methods
10 | You don’t run tests concurrently. Do you? | 30 January 2015
How?
11 | You don’t run tests concurrently. Do you? | 30 January 2015
1. Minize the shared state
12 | You don’t run tests concurrently. Do you? | 30 January 2015
1. Minize the shared state
2. Guard the necessary shared state
13 | You don’t run tests concurrently. Do you? | 30 January 2015
1. Minize the shared state
2. Guard the necessary shared state
3. Understand the framework‘s thread model
14 | You don’t run tests concurrently. Do you? | 30 January 2015
1. Minize the shared state
2. Guard the necessary shared state
3. Understand the framework‘s thread model
4. External integration also needs to be thread safe
15 | You don’t run tests concurrently. Do you? | 30 January 2015
Failback
16 | You don’t run tests concurrently. Do you? | 30 January 2015
@Test(singleThreaded=true)
JVM forking
17 | You don’t run tests concurrently. Do you? | 30 January 2015
Isolation
Test methods granularity
1. Minize the shared state
2. Guard the necessary shared state
3. Understand the framework‘s thread model
4. External integration also needs to be thread safe
Thank you for your
attention
Disclaimer
CONFLICTS OF INTEREST BARCLAYS IS A FULL SERVICE INVESTMENT BANK. In the normal course of offering investment banking products and services to clients.
Barclays may act in several capacities (including issuer, market maker, underwriter, distributor, index sponsor, swap counterparty and calculation agent) simultaneously with
respect to a product, giving rise to potential conflicts of interest which may impact the performance of a product.
NOT RESEARCH This document is from a Barclays Trading and/or Distribution desk and is not a product of the Barclays Research department. Any views expressed may
differ from those of Barclays Research.
BARCLAYS POSITIONS Barclays, its affiliates and associated personnel may at any time acquire, hold or dispose of long or short positions (including hedging and trading
positions) which may impact the performance of a product.
FOR INFORMATION ONLY THIS DOCUMENT IS PROVIDED FOR INFORMATION PURPOSES ONLY AND IT IS SUBJECT TO CHANGE. IT IS INDICATIVE ONLY AND IS
NOT BINDING.
NO OFFER Barclays is not offering to sell or seeking offers to buy any product or enter into any transaction. Any transaction requires Barclays’ subsequent formal agreement
which will be subject to internal approvals and binding transaction documents.
NO LIABILITY Barclays is not responsible for the use made of this document other than the purpose for which it is intended, except to the extent this would be prohibited by
law or regulation.
NO ADVICE OBTAIN INDEPENDENT PROFESSIONAL ADVICE BEFORE INVESTING OR TRANSACTING. Barclays is not an advisor and will not provide any advice
relating to a product. Before making an investment decision, investors should ensure they have sufficient information to ascertain the legal, financial, tax and regulatory
consequences of an investment to enable them to make an informed investment decision.
THIRD PARTY INFORMATION Barclays is not responsible for information stated to be obtained or derived from third party sources or statistical services.
PAST & SIMULATED PAST PERFORMANCE Any past or simulated past performance (including back-testing) contained herein is no indication as to future performance.
OPINIONS SUBJECT TO CHANGE All opinions and estimates are given as of the date hereof and are subject to change. Barclays is not obliged to inform investors of any
change to such opinions or estimates.
NOT FOR RETAIL This document is being directed at persons who are professionals and is not intended for retail customer use.
IMPORTANT DISCLOSURES For important regional disclosures you must read, click on the link relevant to your region. Please contact your Barclays representative if you
are unable to access.
EMEA EMEA Disclosures APAC APAC Disclosures U.S. US Disclosures
IRS CIRCULAR 230 DISCLOSURE: Barclays does not provide tax advice. Please note that (i) any discussion of US tax matters contained in this communication (including any
attachments) cannot be used by you for the purpose of avoiding tax penalties; (ii) this communication was written to support the promotion or marketing of the matters addressed
herein; and (iii) you should seek advice based on your particular circumstances from an independent tax advisor.
CONFIDENTIAL This document is confidential and no part of it may be reproduced, distributed or transmitted without the prior written permission of Barclays.
ABOUT BARCLAYS Barclays Bank PLC offers premier investment banking products and services to its clients through Barclays Bank PLC. Barclays Bank PLC is authorised
by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority and is a member of the London Stock Exchange.
Barclays Bank PLC is registered in England No. 1026167 with its registered office at 1 Churchill Place, London E14 5HP.
COPYRIGHT © Copyright Barclays Bank PLC, 2015 (all rights reserved).
19 | You don’t run tests concurrently. Do you? | 30 January 2015

More Related Content

Similar to You dont run unit tests concurrently. do you?

Ved fy15-results-presentation
Ved fy15-results-presentationVed fy15-results-presentation
Ved fy15-results-presentationabsmartkarma
 
‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.
‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.
‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.choice broking
 
Netwealth portfolio construction series - Protecting your portfolio with infr...
Netwealth portfolio construction series - Protecting your portfolio with infr...Netwealth portfolio construction series - Protecting your portfolio with infr...
Netwealth portfolio construction series - Protecting your portfolio with infr...netwealthInvest
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppVicente Piqueras
 
E book-english-how-to-invest-in-private-placement-programs-ppp
E book-english-how-to-invest-in-private-placement-programs-pppE book-english-how-to-invest-in-private-placement-programs-ppp
E book-english-how-to-invest-in-private-placement-programs-pppMichael Kleven
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppvicente piqueras
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppvicente piqueras
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppVICENTE PIQUERAS
 
1. e-book.(english).how to invest in private placement programs-ppp
1. e-book.(english).how to invest in private placement programs-ppp1. e-book.(english).how to invest in private placement programs-ppp
1. e-book.(english).how to invest in private placement programs-pppvicente piqueras
 
Pick of the Week (Voltas Ltd)
Pick of the Week (Voltas Ltd)Pick of the Week (Voltas Ltd)
Pick of the Week (Voltas Ltd)choice broking
 
Future Asia Ventures Corporate Accelerators: A Growing Force
Future Asia Ventures Corporate Accelerators: A Growing ForceFuture Asia Ventures Corporate Accelerators: A Growing Force
Future Asia Ventures Corporate Accelerators: A Growing ForceFalguni Desai
 
Australian Investment Education Trading and Investing Foundation Program with...
Australian Investment Education Trading and Investing Foundation Program with...Australian Investment Education Trading and Investing Foundation Program with...
Australian Investment Education Trading and Investing Foundation Program with...Andrew Baxter
 
Clear Value Ecommerce Sector Report
Clear Value Ecommerce Sector ReportClear Value Ecommerce Sector Report
Clear Value Ecommerce Sector ReportKevenChen6
 
Pick of the Week: TATA CONSULTANCY SERVICES LTD.
Pick of the Week: TATA CONSULTANCY SERVICES LTD.Pick of the Week: TATA CONSULTANCY SERVICES LTD.
Pick of the Week: TATA CONSULTANCY SERVICES LTD.choice broking
 
Stock of the day report
Stock of the day reportStock of the day report
Stock of the day reportstockquint
 

Similar to You dont run unit tests concurrently. do you? (20)

BPS "Incubation and Acceleration"_PwC
BPS "Incubation and Acceleration"_PwCBPS "Incubation and Acceleration"_PwC
BPS "Incubation and Acceleration"_PwC
 
Ved fy15-results-presentation
Ved fy15-results-presentationVed fy15-results-presentation
Ved fy15-results-presentation
 
Choice - Morning Tea
Choice - Morning TeaChoice - Morning Tea
Choice - Morning Tea
 
‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.
‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.
‎ChoiceBroking‬ ‪Pick‬ of the week: ‪‎WiproLtd‬.
 
Netwealth portfolio construction series - Protecting your portfolio with infr...
Netwealth portfolio construction series - Protecting your portfolio with infr...Netwealth portfolio construction series - Protecting your portfolio with infr...
Netwealth portfolio construction series - Protecting your portfolio with infr...
 
Choice - Morning Tea
Choice - Morning TeaChoice - Morning Tea
Choice - Morning Tea
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-ppp
 
E book-english-how-to-invest-in-private-placement-programs-ppp
E book-english-how-to-invest-in-private-placement-programs-pppE book-english-how-to-invest-in-private-placement-programs-ppp
E book-english-how-to-invest-in-private-placement-programs-ppp
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-ppp
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-ppp
 
E book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-pppE book.(english).how to invest in private placement programs-ppp
E book.(english).how to invest in private placement programs-ppp
 
1. e-book.(english).how to invest in private placement programs-ppp
1. e-book.(english).how to invest in private placement programs-ppp1. e-book.(english).how to invest in private placement programs-ppp
1. e-book.(english).how to invest in private placement programs-ppp
 
Pick of the Week (Voltas Ltd)
Pick of the Week (Voltas Ltd)Pick of the Week (Voltas Ltd)
Pick of the Week (Voltas Ltd)
 
Future Asia Ventures Corporate Accelerators: A Growing Force
Future Asia Ventures Corporate Accelerators: A Growing ForceFuture Asia Ventures Corporate Accelerators: A Growing Force
Future Asia Ventures Corporate Accelerators: A Growing Force
 
Choice - Morning Tea
Choice - Morning TeaChoice - Morning Tea
Choice - Morning Tea
 
Australian Investment Education Trading and Investing Foundation Program with...
Australian Investment Education Trading and Investing Foundation Program with...Australian Investment Education Trading and Investing Foundation Program with...
Australian Investment Education Trading and Investing Foundation Program with...
 
Clear Value Ecommerce Sector Report
Clear Value Ecommerce Sector ReportClear Value Ecommerce Sector Report
Clear Value Ecommerce Sector Report
 
Pick of the Week: TATA CONSULTANCY SERVICES LTD.
Pick of the Week: TATA CONSULTANCY SERVICES LTD.Pick of the Week: TATA CONSULTANCY SERVICES LTD.
Pick of the Week: TATA CONSULTANCY SERVICES LTD.
 
ICT Mentorship Month 1 Notes.pdf
ICT Mentorship Month 1 Notes.pdfICT Mentorship Month 1 Notes.pdf
ICT Mentorship Month 1 Notes.pdf
 
Stock of the day report
Stock of the day reportStock of the day report
Stock of the day report
 

More from Martin Skurla

2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf
2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf
2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdfMartin Skurla
 
2024-03-03 - Chairwork - Beyond the Basics.pdf
2024-03-03 - Chairwork - Beyond the Basics.pdf2024-03-03 - Chairwork - Beyond the Basics.pdf
2024-03-03 - Chairwork - Beyond the Basics.pdfMartin Skurla
 
2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf
2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf
2024-02-20 - Berne Institute - Mental Health Familiarisation.pdfMartin Skurla
 
Exploring Relational Practice Through Clinical Dilemmas
Exploring Relational Practice Through Clinical DilemmasExploring Relational Practice Through Clinical Dilemmas
Exploring Relational Practice Through Clinical DilemmasMartin Skurla
 
Interpretive Dynamic Transactional Analysis Psychotherapy
Interpretive Dynamic Transactional Analysis PsychotherapyInterpretive Dynamic Transactional Analysis Psychotherapy
Interpretive Dynamic Transactional Analysis PsychotherapyMartin Skurla
 
ESET 3 internship protocol
ESET 3 internship protocolESET 3 internship protocol
ESET 3 internship protocolMartin Skurla
 
Mastering Redecision Therapy
Mastering Redecision TherapyMastering Redecision Therapy
Mastering Redecision TherapyMartin Skurla
 
The Vital Skill of Clinical Assessment
The Vital Skill of Clinical AssessmentThe Vital Skill of Clinical Assessment
The Vital Skill of Clinical AssessmentMartin Skurla
 
Psychotherapy from the clients perspective
Psychotherapy from the clients perspectivePsychotherapy from the clients perspective
Psychotherapy from the clients perspectiveMartin Skurla
 
There's No Place Like Home
There's No Place Like HomeThere's No Place Like Home
There's No Place Like HomeMartin Skurla
 
Advanced Counselling Skills
Advanced Counselling SkillsAdvanced Counselling Skills
Advanced Counselling SkillsMartin Skurla
 
CATA conference 2023.pdf
CATA conference 2023.pdfCATA conference 2023.pdf
CATA conference 2023.pdfMartin Skurla
 
UKATA Conference 2023
UKATA Conference 2023UKATA Conference 2023
UKATA Conference 2023Martin Skurla
 
Applied TA in clinical practice
Applied TA in clinical practiceApplied TA in clinical practice
Applied TA in clinical practiceMartin Skurla
 
Intensive course - Working with therapeutic cards
Intensive course - Working with therapeutic cardsIntensive course - Working with therapeutic cards
Intensive course - Working with therapeutic cardsMartin Skurla
 
Personality Focused Treatment
Personality Focused TreatmentPersonality Focused Treatment
Personality Focused TreatmentMartin Skurla
 
Advanced training in Transanctional analysis
Advanced training in Transanctional analysisAdvanced training in Transanctional analysis
Advanced training in Transanctional analysisMartin Skurla
 
Magdalena internship protocol
Magdalena internship protocolMagdalena internship protocol
Magdalena internship protocolMartin Skurla
 
PPP internship protocol
PPP internship protocolPPP internship protocol
PPP internship protocolMartin Skurla
 

More from Martin Skurla (20)

2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf
2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf
2024-03-07 - Berne Institute - Neurodiversity Awareness Training.pdf
 
2024-03-03 - Chairwork - Beyond the Basics.pdf
2024-03-03 - Chairwork - Beyond the Basics.pdf2024-03-03 - Chairwork - Beyond the Basics.pdf
2024-03-03 - Chairwork - Beyond the Basics.pdf
 
2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf
2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf
2024-02-20 - Berne Institute - Mental Health Familiarisation.pdf
 
Exploring Relational Practice Through Clinical Dilemmas
Exploring Relational Practice Through Clinical DilemmasExploring Relational Practice Through Clinical Dilemmas
Exploring Relational Practice Through Clinical Dilemmas
 
Interpretive Dynamic Transactional Analysis Psychotherapy
Interpretive Dynamic Transactional Analysis PsychotherapyInterpretive Dynamic Transactional Analysis Psychotherapy
Interpretive Dynamic Transactional Analysis Psychotherapy
 
ESET 3 internship protocol
ESET 3 internship protocolESET 3 internship protocol
ESET 3 internship protocol
 
Mastering Redecision Therapy
Mastering Redecision TherapyMastering Redecision Therapy
Mastering Redecision Therapy
 
Life Script
Life ScriptLife Script
Life Script
 
The Vital Skill of Clinical Assessment
The Vital Skill of Clinical AssessmentThe Vital Skill of Clinical Assessment
The Vital Skill of Clinical Assessment
 
Psychotherapy from the clients perspective
Psychotherapy from the clients perspectivePsychotherapy from the clients perspective
Psychotherapy from the clients perspective
 
There's No Place Like Home
There's No Place Like HomeThere's No Place Like Home
There's No Place Like Home
 
Advanced Counselling Skills
Advanced Counselling SkillsAdvanced Counselling Skills
Advanced Counselling Skills
 
CATA conference 2023.pdf
CATA conference 2023.pdfCATA conference 2023.pdf
CATA conference 2023.pdf
 
UKATA Conference 2023
UKATA Conference 2023UKATA Conference 2023
UKATA Conference 2023
 
Applied TA in clinical practice
Applied TA in clinical practiceApplied TA in clinical practice
Applied TA in clinical practice
 
Intensive course - Working with therapeutic cards
Intensive course - Working with therapeutic cardsIntensive course - Working with therapeutic cards
Intensive course - Working with therapeutic cards
 
Personality Focused Treatment
Personality Focused TreatmentPersonality Focused Treatment
Personality Focused Treatment
 
Advanced training in Transanctional analysis
Advanced training in Transanctional analysisAdvanced training in Transanctional analysis
Advanced training in Transanctional analysis
 
Magdalena internship protocol
Magdalena internship protocolMagdalena internship protocol
Magdalena internship protocol
 
PPP internship protocol
PPP internship protocolPPP internship protocol
PPP internship protocol
 

Recently uploaded

WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
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...Shane Coughlan
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
%+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
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
+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
 
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 AidPhilip Schwarz
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
%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 Bahrainmasabamasaba
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%+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
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 

Recently uploaded (20)

WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
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...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%+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...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
+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...
 
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
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%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
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%+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...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 

You dont run unit tests concurrently. do you?

  • 1. You don’t run unit tests concurrently. Do you? 30 January 2015 Martin Škurla, Equities IT, Core team
  • 2. 2 | You don’t run tests concurrently. Do you? | 30 January 2015 Why ?
  • 3. 3 | You don’t run tests concurrently. Do you? | 30 January 2015 Performance
  • 4. 4 | You don’t run tests concurrently. Do you? | 30 January 2015 Performance
  • 5. 5 | You don’t run tests concurrently. Do you? | 30 January 2015 Performance Isolation
  • 6. 6 | You don’t run tests concurrently. Do you? | 30 January 2015 Test granularities
  • 7. 7 | You don’t run tests concurrently. Do you? | 30 January 2015 Test suites
  • 8. 8 | You don’t run tests concurrently. Do you? | 30 January 2015 Test suites Test classes
  • 9. 9 | You don’t run tests concurrently. Do you? | 30 January 2015 Test suites Test classes Test methods
  • 10. 10 | You don’t run tests concurrently. Do you? | 30 January 2015 How?
  • 11. 11 | You don’t run tests concurrently. Do you? | 30 January 2015 1. Minize the shared state
  • 12. 12 | You don’t run tests concurrently. Do you? | 30 January 2015 1. Minize the shared state 2. Guard the necessary shared state
  • 13. 13 | You don’t run tests concurrently. Do you? | 30 January 2015 1. Minize the shared state 2. Guard the necessary shared state 3. Understand the framework‘s thread model
  • 14. 14 | You don’t run tests concurrently. Do you? | 30 January 2015 1. Minize the shared state 2. Guard the necessary shared state 3. Understand the framework‘s thread model 4. External integration also needs to be thread safe
  • 15. 15 | You don’t run tests concurrently. Do you? | 30 January 2015 Failback
  • 16. 16 | You don’t run tests concurrently. Do you? | 30 January 2015 @Test(singleThreaded=true) JVM forking
  • 17. 17 | You don’t run tests concurrently. Do you? | 30 January 2015 Isolation Test methods granularity 1. Minize the shared state 2. Guard the necessary shared state 3. Understand the framework‘s thread model 4. External integration also needs to be thread safe
  • 18. Thank you for your attention
  • 19. Disclaimer CONFLICTS OF INTEREST BARCLAYS IS A FULL SERVICE INVESTMENT BANK. In the normal course of offering investment banking products and services to clients. Barclays may act in several capacities (including issuer, market maker, underwriter, distributor, index sponsor, swap counterparty and calculation agent) simultaneously with respect to a product, giving rise to potential conflicts of interest which may impact the performance of a product. NOT RESEARCH This document is from a Barclays Trading and/or Distribution desk and is not a product of the Barclays Research department. Any views expressed may differ from those of Barclays Research. BARCLAYS POSITIONS Barclays, its affiliates and associated personnel may at any time acquire, hold or dispose of long or short positions (including hedging and trading positions) which may impact the performance of a product. FOR INFORMATION ONLY THIS DOCUMENT IS PROVIDED FOR INFORMATION PURPOSES ONLY AND IT IS SUBJECT TO CHANGE. IT IS INDICATIVE ONLY AND IS NOT BINDING. NO OFFER Barclays is not offering to sell or seeking offers to buy any product or enter into any transaction. Any transaction requires Barclays’ subsequent formal agreement which will be subject to internal approvals and binding transaction documents. NO LIABILITY Barclays is not responsible for the use made of this document other than the purpose for which it is intended, except to the extent this would be prohibited by law or regulation. NO ADVICE OBTAIN INDEPENDENT PROFESSIONAL ADVICE BEFORE INVESTING OR TRANSACTING. Barclays is not an advisor and will not provide any advice relating to a product. Before making an investment decision, investors should ensure they have sufficient information to ascertain the legal, financial, tax and regulatory consequences of an investment to enable them to make an informed investment decision. THIRD PARTY INFORMATION Barclays is not responsible for information stated to be obtained or derived from third party sources or statistical services. PAST & SIMULATED PAST PERFORMANCE Any past or simulated past performance (including back-testing) contained herein is no indication as to future performance. OPINIONS SUBJECT TO CHANGE All opinions and estimates are given as of the date hereof and are subject to change. Barclays is not obliged to inform investors of any change to such opinions or estimates. NOT FOR RETAIL This document is being directed at persons who are professionals and is not intended for retail customer use. IMPORTANT DISCLOSURES For important regional disclosures you must read, click on the link relevant to your region. Please contact your Barclays representative if you are unable to access. EMEA EMEA Disclosures APAC APAC Disclosures U.S. US Disclosures IRS CIRCULAR 230 DISCLOSURE: Barclays does not provide tax advice. Please note that (i) any discussion of US tax matters contained in this communication (including any attachments) cannot be used by you for the purpose of avoiding tax penalties; (ii) this communication was written to support the promotion or marketing of the matters addressed herein; and (iii) you should seek advice based on your particular circumstances from an independent tax advisor. CONFIDENTIAL This document is confidential and no part of it may be reproduced, distributed or transmitted without the prior written permission of Barclays. ABOUT BARCLAYS Barclays Bank PLC offers premier investment banking products and services to its clients through Barclays Bank PLC. Barclays Bank PLC is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority and is a member of the London Stock Exchange. Barclays Bank PLC is registered in England No. 1026167 with its registered office at 1 Churchill Place, London E14 5HP. COPYRIGHT © Copyright Barclays Bank PLC, 2015 (all rights reserved). 19 | You don’t run tests concurrently. Do you? | 30 January 2015