SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Wed, 27th July 2022
London MuleSoft Meetup Group
Test Driven Development
Hosted by
Housekeeping
● All slides of this presentation will be uploaded on event page within 24 hours, along
with a recording of this meetup.
● Questions can be submitted/asked at any time in the Chat tab. Proper Q&A time will
be assigned at the end of our presentation. Make it Interactive!
● Give us feedback! Rate this meetup session by filling the feedback form at the end of
the day. We love feedback!
● At the end of the presentation, there will be a quiz where you will get a chance to
win a training voucher from MuleSoft!
2
3
● 17:10 - Introducing tonight's host – Pace Integration
● 17:20 - Ice breaker quiz
● 17:30 - Introduction to TDD by May Jieamtarvorn
● 17:45 - TDD with MUnits by Sean Young
● 18:10 - Q&A
● 18:20 - Quiz and Giveaways
● 18:30 - Closing and in-person meetup suggestions
Agenda
Today’s Moderator and Host
4
Rajesh Rajmangal
Host
PACE INTEGRATION
Co-Founder & Strategic
Integration Architect
Smita Ramgolam
Moderator
PACE INTEGRATION
MuleSoft Capability Lead &
MuleSoft Mentor
About Pace Integration
About
● Pace Integration is a British technology consultancy that
solves your integration challenge – focused on enabling your
journey from strategy & operating model, platform
architecture that is key to the connected enterprise.
● We accelerate your digital change goals by partnering with
you to design, deliver and operate your integration solutions.
This enables you to unlock further value from your data assets
and create seamless business processes.
● We have tangible experience in delivering
Integration value aligned to your strategy - unique in our
market we provide skills to deliver solutions at the
highest quality and speed.
6
London Meetups
7
● As one of the longest running MuleSoft
Meetups globally, Pace Integration have
hosted hundreds of professionals with an
interest in MuleSoft and APIs.
● Thanks to all of those who supported the
London Meetup, helping us keep our
Meetup at a very high standard, by
presenting numerous interesting topics and
providing great engagement!
Please get in touch with Nicoleta@paceintegration.com
where you would like to volunteer as a presenter within the
London Community
Pace Integration & Meetups
8
Connect with us!
Engage on LinkedIn by mentioning @PaceIntegration and tagging #MuleSoftMeetup
Don’t forget to follow us so that you don’t miss the latest updates!
9
All meetup attendees will receive an email linking to today’s slides and session’s recording.
PRIZES!
10
OFFICIAL MULESOFT TRAINING
MuleSoft Training and
Certification vouchers for TOP 3
winners from the end-of-
presentation quiz!
Stay tuned and take part at our
end-of-presentation quiz around
TDD and MuleSoft to win one of the
three training and certification
vouchers for a MuleSoft course of
your choice.
It’s time for the Ice breaker Quiz!!!
Join the link in the chat…
Today’s Speakers
12
May Jieamtarvorn
PACE INTEGRATION
MuleSoft Developer
May is a Developer at Pace who has worked across a wide range
of industries wearing different hats; most recently creating
integration solutions for product management within Unilever
and Diageo and HR for Roche.
May enjoys working to make software development accessible
to all.
Today's Speakers
13
Sean Young
PACE INTEGRATION
Integration Consultant
Sean began building Integration solutions in 2007. Working with a
Reverse Logistics company, he built a solution that spanned the
entire supply chain for warranty returns on parts for major
technology hardware manufacturers, through the wholesale
distribution company and on to retail clients.
He started working with MuleSoft in 2009 and has followed this
product's journey through several major releases. Sean's MuleSoft
experience includes Pharmaceutical, Financial Services and Public
Sector projects. He has also worked as part of a team that delivered
business-critical solutions in the UK and Europe for a household
name in the broadcast media industry.
by May Jieamtarvorn
Test Driven Development with MUnits
15
Test Driven Development
Modern era termed as a more agile approach to software development.
Formally introduced back in the early 90s by Kent Beck.
The principle of “fake it till you make it” – Kent Beck
Benefits of a TDD approach
16
● "Fail fast" approach
● Code design is improved
○ Manageable, readable, code cohesion and coupling of concerns
● Reduced number of defects
● Aid in requirements refinement
○ Better understanding of what implementation should do
○ Often forgotten scenarios are uncovered
● Low-level regression testing
Drawbacks of a TDD approach
● Hard to start working this way
○ Not conventional programming
● Not suitable for tight deadlines
● Perception of more effort to maintain code
○ Changes made to the code need to be reflected in the tests
● Time consuming but helps in the long run
○ Less defects in the future
17
When and where to use TDD
When:
○ Traditionally unit testing would be performed after code is built
○ In a TDD approach tests are written as we write functional code
○ In MuleSoft
■ After developing RAML
Where:
○ All types of projects except for UI based
18
How do we do TDD
3 repeatable steps:
○ Write a test for the next bit of
functionality you want to add
○ Write functional code until the test
passes
○ Refactor both new and old code to
make it well structured
19
Things we need to watch out for
20
Munits Demo
By Sean Young
Common Errors when doing MUnits
22
Fixing external data
Testing external code
Focus only on code coverage
Questions?
What is on your mind...
Presentation Giveaways Quiz!!!
Join the link in the chat…
Congratulations!
Top 3 with the highest score will receive a FREE MuleSoft Training
and Certification Voucher!
26
What’s next?
● Share:
○ LinkedIn post using the hashtag #MuleSoftMeetups and @Pace Integration
● Feedback:
○ Tell us any future Meetup topics you would like us to present to
nicoleta@paceintegration.com
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
Thank you
https://www.paceintegration.com/
connect@paceintegration.com

Weitere ähnliche Inhalte

Ähnlich wie TDD and MUnits for API-led Integration

MuleSoft Surat Virtual Meetup#17 - Automated Code Review
MuleSoft Surat Virtual Meetup#17 - Automated Code ReviewMuleSoft Surat Virtual Meetup#17 - Automated Code Review
MuleSoft Surat Virtual Meetup#17 - Automated Code ReviewJitendra Bafna
 
Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Daniel Soffner
 
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and MockitoQCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and MockitoSzczepan Faber
 
Moving towards a more efficient and flexible delivery model in automotive env...
Moving towards a more efficient and flexible delivery model in automotive env...Moving towards a more efficient and flexible delivery model in automotive env...
Moving towards a more efficient and flexible delivery model in automotive env...Agustin Benito Bethencourt
 
AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1
AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1
AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1VersionOne
 
MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19Julian Douch
 
MuleSoft Milano Meetup #7 Florence Consulting
MuleSoft Milano Meetup #7  Florence Consulting MuleSoft Milano Meetup #7  Florence Consulting
MuleSoft Milano Meetup #7 Florence Consulting Florence Consulting
 
Melbourne Virtual MuleSoft Meetup March 2021
Melbourne Virtual MuleSoft Meetup March 2021Melbourne Virtual MuleSoft Meetup March 2021
Melbourne Virtual MuleSoft Meetup March 2021Daniel Soffner
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13Jim Andrews
 
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...Jitendra Bafna
 
Mulesoft Milano meetup #6 Florence Consulting
Mulesoft Milano meetup #6 Florence ConsultingMulesoft Milano meetup #6 Florence Consulting
Mulesoft Milano meetup #6 Florence ConsultingFlorence Consulting
 
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
First mule soft meetup in patna  bihar's first mulesoft meetup-7th marchFirst mule soft meetup in patna  bihar's first mulesoft meetup-7th march
First mule soft meetup in patna bihar's first mulesoft meetup-7th marchOm Prakash
 
Melbourne Virtual MuleSoft Meetup June 2022
Melbourne Virtual MuleSoft Meetup June 2022Melbourne Virtual MuleSoft Meetup June 2022
Melbourne Virtual MuleSoft Meetup June 2022Daniel Soffner
 
CI/CD: Lessons from LinkedIn and Mockito
CI/CD: Lessons from LinkedIn and MockitoCI/CD: Lessons from LinkedIn and Mockito
CI/CD: Lessons from LinkedIn and MockitoC4Media
 
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...WSO2
 
20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversionMizuhoHoshino
 
General presentation - Bitcraft
General presentation - Bitcraft General presentation - Bitcraft
General presentation - Bitcraft Kamila Katyal
 
Princeton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptxPrinceton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptxsubhas_17
 

Ähnlich wie TDD and MUnits for API-led Integration (20)

MuleSoft Surat Virtual Meetup#17 - Automated Code Review
MuleSoft Surat Virtual Meetup#17 - Automated Code ReviewMuleSoft Surat Virtual Meetup#17 - Automated Code Review
MuleSoft Surat Virtual Meetup#17 - Automated Code Review
 
Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021
 
São Paulo MuleSoft Meetup - 31 Jan
São Paulo MuleSoft Meetup - 31 JanSão Paulo MuleSoft Meetup - 31 Jan
São Paulo MuleSoft Meetup - 31 Jan
 
2015 03-siia-iin-byte9-v1
2015 03-siia-iin-byte9-v12015 03-siia-iin-byte9-v1
2015 03-siia-iin-byte9-v1
 
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and MockitoQCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
 
Moving towards a more efficient and flexible delivery model in automotive env...
Moving towards a more efficient and flexible delivery model in automotive env...Moving towards a more efficient and flexible delivery model in automotive env...
Moving towards a more efficient and flexible delivery model in automotive env...
 
AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1
AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1
AgileLIVE Webinar: Build a DevOps Culture & Infrastructure for Success Part 1
 
MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19
 
MuleSoft Milano Meetup #7 Florence Consulting
MuleSoft Milano Meetup #7  Florence Consulting MuleSoft Milano Meetup #7  Florence Consulting
MuleSoft Milano Meetup #7 Florence Consulting
 
Melbourne Virtual MuleSoft Meetup March 2021
Melbourne Virtual MuleSoft Meetup March 2021Melbourne Virtual MuleSoft Meetup March 2021
Melbourne Virtual MuleSoft Meetup March 2021
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13
 
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
 
Mulesoft Milano meetup #6 Florence Consulting
Mulesoft Milano meetup #6 Florence ConsultingMulesoft Milano meetup #6 Florence Consulting
Mulesoft Milano meetup #6 Florence Consulting
 
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
First mule soft meetup in patna  bihar's first mulesoft meetup-7th marchFirst mule soft meetup in patna  bihar's first mulesoft meetup-7th march
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
 
Melbourne Virtual MuleSoft Meetup June 2022
Melbourne Virtual MuleSoft Meetup June 2022Melbourne Virtual MuleSoft Meetup June 2022
Melbourne Virtual MuleSoft Meetup June 2022
 
CI/CD: Lessons from LinkedIn and Mockito
CI/CD: Lessons from LinkedIn and MockitoCI/CD: Lessons from LinkedIn and Mockito
CI/CD: Lessons from LinkedIn and Mockito
 
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
 
20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion
 
General presentation - Bitcraft
General presentation - Bitcraft General presentation - Bitcraft
General presentation - Bitcraft
 
Princeton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptxPrinceton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptx
 

Mehr von Pace Integration

MuleSoft London Community September 2020 - Project Vita
MuleSoft London Community September 2020 - Project VitaMuleSoft London Community September 2020 - Project Vita
MuleSoft London Community September 2020 - Project VitaPace Integration
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataPace Integration
 
MuleSoft London Community November 2019 - MuleSoft and CICD
MuleSoft London Community November 2019 - MuleSoft and CICDMuleSoft London Community November 2019 - MuleSoft and CICD
MuleSoft London Community November 2019 - MuleSoft and CICDPace Integration
 
MuleSoft London Community October 2019 - Preparing for London Connect 2019
MuleSoft London Community October 2019 - Preparing for London Connect 2019MuleSoft London Community October 2019 - Preparing for London Connect 2019
MuleSoft London Community October 2019 - Preparing for London Connect 2019Pace Integration
 
MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday Pace Integration
 
MuleSoft London Community March 2018 - The power of the Crowd
MuleSoft London Community March 2018 - The power of the CrowdMuleSoft London Community March 2018 - The power of the Crowd
MuleSoft London Community March 2018 - The power of the CrowdPace Integration
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationPace Integration
 
MuleSoft London Community August 2017 - API Led Connectivity
MuleSoft London Community August 2017 - API Led ConnectivityMuleSoft London Community August 2017 - API Led Connectivity
MuleSoft London Community August 2017 - API Led ConnectivityPace Integration
 
MuleSoft London Community - May 2017 RAML
MuleSoft London Community - May 2017 RAMLMuleSoft London Community - May 2017 RAML
MuleSoft London Community - May 2017 RAMLPace Integration
 
MuleSoft London Community - API Marketing, Culture Change and Tooling
MuleSoft London Community - API Marketing, Culture Change and ToolingMuleSoft London Community - API Marketing, Culture Change and Tooling
MuleSoft London Community - API Marketing, Culture Change and ToolingPace Integration
 
MuleSoft London CoP - November 2016
MuleSoft London CoP - November 2016MuleSoft London CoP - November 2016
MuleSoft London CoP - November 2016Pace Integration
 
MuleSoft London CoP - October 2016
MuleSoft London CoP - October 2016MuleSoft London CoP - October 2016
MuleSoft London CoP - October 2016Pace Integration
 
MuleSoft London Community September 2016
MuleSoft London Community September 2016MuleSoft London Community September 2016
MuleSoft London Community September 2016Pace Integration
 

Mehr von Pace Integration (13)

MuleSoft London Community September 2020 - Project Vita
MuleSoft London Community September 2020 - Project VitaMuleSoft London Community September 2020 - Project Vita
MuleSoft London Community September 2020 - Project Vita
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and OData
 
MuleSoft London Community November 2019 - MuleSoft and CICD
MuleSoft London Community November 2019 - MuleSoft and CICDMuleSoft London Community November 2019 - MuleSoft and CICD
MuleSoft London Community November 2019 - MuleSoft and CICD
 
MuleSoft London Community October 2019 - Preparing for London Connect 2019
MuleSoft London Community October 2019 - Preparing for London Connect 2019MuleSoft London Community October 2019 - Preparing for London Connect 2019
MuleSoft London Community October 2019 - Preparing for London Connect 2019
 
MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday
 
MuleSoft London Community March 2018 - The power of the Crowd
MuleSoft London Community March 2018 - The power of the CrowdMuleSoft London Community March 2018 - The power of the Crowd
MuleSoft London Community March 2018 - The power of the Crowd
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP Integration
 
MuleSoft London Community August 2017 - API Led Connectivity
MuleSoft London Community August 2017 - API Led ConnectivityMuleSoft London Community August 2017 - API Led Connectivity
MuleSoft London Community August 2017 - API Led Connectivity
 
MuleSoft London Community - May 2017 RAML
MuleSoft London Community - May 2017 RAMLMuleSoft London Community - May 2017 RAML
MuleSoft London Community - May 2017 RAML
 
MuleSoft London Community - API Marketing, Culture Change and Tooling
MuleSoft London Community - API Marketing, Culture Change and ToolingMuleSoft London Community - API Marketing, Culture Change and Tooling
MuleSoft London Community - API Marketing, Culture Change and Tooling
 
MuleSoft London CoP - November 2016
MuleSoft London CoP - November 2016MuleSoft London CoP - November 2016
MuleSoft London CoP - November 2016
 
MuleSoft London CoP - October 2016
MuleSoft London CoP - October 2016MuleSoft London CoP - October 2016
MuleSoft London CoP - October 2016
 
MuleSoft London Community September 2016
MuleSoft London Community September 2016MuleSoft London Community September 2016
MuleSoft London Community September 2016
 

Kürzlich hochgeladen

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

TDD and MUnits for API-led Integration

  • 1. Wed, 27th July 2022 London MuleSoft Meetup Group Test Driven Development Hosted by
  • 2. Housekeeping ● All slides of this presentation will be uploaded on event page within 24 hours, along with a recording of this meetup. ● Questions can be submitted/asked at any time in the Chat tab. Proper Q&A time will be assigned at the end of our presentation. Make it Interactive! ● Give us feedback! Rate this meetup session by filling the feedback form at the end of the day. We love feedback! ● At the end of the presentation, there will be a quiz where you will get a chance to win a training voucher from MuleSoft! 2
  • 3. 3 ● 17:10 - Introducing tonight's host – Pace Integration ● 17:20 - Ice breaker quiz ● 17:30 - Introduction to TDD by May Jieamtarvorn ● 17:45 - TDD with MUnits by Sean Young ● 18:10 - Q&A ● 18:20 - Quiz and Giveaways ● 18:30 - Closing and in-person meetup suggestions Agenda
  • 4. Today’s Moderator and Host 4 Rajesh Rajmangal Host PACE INTEGRATION Co-Founder & Strategic Integration Architect Smita Ramgolam Moderator PACE INTEGRATION MuleSoft Capability Lead & MuleSoft Mentor
  • 6. About ● Pace Integration is a British technology consultancy that solves your integration challenge – focused on enabling your journey from strategy & operating model, platform architecture that is key to the connected enterprise. ● We accelerate your digital change goals by partnering with you to design, deliver and operate your integration solutions. This enables you to unlock further value from your data assets and create seamless business processes. ● We have tangible experience in delivering Integration value aligned to your strategy - unique in our market we provide skills to deliver solutions at the highest quality and speed. 6
  • 7. London Meetups 7 ● As one of the longest running MuleSoft Meetups globally, Pace Integration have hosted hundreds of professionals with an interest in MuleSoft and APIs. ● Thanks to all of those who supported the London Meetup, helping us keep our Meetup at a very high standard, by presenting numerous interesting topics and providing great engagement! Please get in touch with Nicoleta@paceintegration.com where you would like to volunteer as a presenter within the London Community
  • 8. Pace Integration & Meetups 8
  • 9. Connect with us! Engage on LinkedIn by mentioning @PaceIntegration and tagging #MuleSoftMeetup Don’t forget to follow us so that you don’t miss the latest updates! 9 All meetup attendees will receive an email linking to today’s slides and session’s recording.
  • 10. PRIZES! 10 OFFICIAL MULESOFT TRAINING MuleSoft Training and Certification vouchers for TOP 3 winners from the end-of- presentation quiz! Stay tuned and take part at our end-of-presentation quiz around TDD and MuleSoft to win one of the three training and certification vouchers for a MuleSoft course of your choice.
  • 11. It’s time for the Ice breaker Quiz!!! Join the link in the chat…
  • 12. Today’s Speakers 12 May Jieamtarvorn PACE INTEGRATION MuleSoft Developer May is a Developer at Pace who has worked across a wide range of industries wearing different hats; most recently creating integration solutions for product management within Unilever and Diageo and HR for Roche. May enjoys working to make software development accessible to all.
  • 13. Today's Speakers 13 Sean Young PACE INTEGRATION Integration Consultant Sean began building Integration solutions in 2007. Working with a Reverse Logistics company, he built a solution that spanned the entire supply chain for warranty returns on parts for major technology hardware manufacturers, through the wholesale distribution company and on to retail clients. He started working with MuleSoft in 2009 and has followed this product's journey through several major releases. Sean's MuleSoft experience includes Pharmaceutical, Financial Services and Public Sector projects. He has also worked as part of a team that delivered business-critical solutions in the UK and Europe for a household name in the broadcast media industry.
  • 14. by May Jieamtarvorn Test Driven Development with MUnits
  • 15. 15 Test Driven Development Modern era termed as a more agile approach to software development. Formally introduced back in the early 90s by Kent Beck. The principle of “fake it till you make it” – Kent Beck
  • 16. Benefits of a TDD approach 16 ● "Fail fast" approach ● Code design is improved ○ Manageable, readable, code cohesion and coupling of concerns ● Reduced number of defects ● Aid in requirements refinement ○ Better understanding of what implementation should do ○ Often forgotten scenarios are uncovered ● Low-level regression testing
  • 17. Drawbacks of a TDD approach ● Hard to start working this way ○ Not conventional programming ● Not suitable for tight deadlines ● Perception of more effort to maintain code ○ Changes made to the code need to be reflected in the tests ● Time consuming but helps in the long run ○ Less defects in the future 17
  • 18. When and where to use TDD When: ○ Traditionally unit testing would be performed after code is built ○ In a TDD approach tests are written as we write functional code ○ In MuleSoft ■ After developing RAML Where: ○ All types of projects except for UI based 18
  • 19. How do we do TDD 3 repeatable steps: ○ Write a test for the next bit of functionality you want to add ○ Write functional code until the test passes ○ Refactor both new and old code to make it well structured 19
  • 20. Things we need to watch out for 20
  • 22. Common Errors when doing MUnits 22 Fixing external data Testing external code Focus only on code coverage
  • 23. Questions? What is on your mind...
  • 24. Presentation Giveaways Quiz!!! Join the link in the chat…
  • 25. Congratulations! Top 3 with the highest score will receive a FREE MuleSoft Training and Certification Voucher!
  • 26. 26 What’s next? ● Share: ○ LinkedIn post using the hashtag #MuleSoftMeetups and @Pace Integration ● Feedback: ○ Tell us any future Meetup topics you would like us to present to nicoleta@paceintegration.com ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program