SlideShare a Scribd company logo
PYTEST: THE
AWESOME PARTS
J O S H G R A N T, S O L U T I O N A R C H I T E C T
Why Python?
@joshin4colours
WHY PYTHON?
• An all-purpose language
• Gaming, web development, data science, task
automation, hardware programming
@joshin4colours
WHY PYTHON?
• Great language to get started with
• Cross-platform support (Windows, OSX, *nix)
• Lots of resources for getting started at all levels
@joshin4colours
And Also...
@joshin4colours
JANUARY 1, 2020
@joshin4colours
Why Python For Testers?
@joshin4colours
MAINSTREAM IN APP DEVELOPMENT
@joshin4colours
MAINSTREAM IN APP DEVELOPMENT
• Many teams use Python for web application development
• Front-end
• Back-end
• Service and middle layers
• Using the same language as developers has benefits
• Team cohesion and communication
• Knowledge transfer
• Can be easier to gain traction with tooling
@joshin4colours
MAINSTREAM IN AUTOMATION
@joshin4colours
MAINSTREAM IN AUTOMATION
• Just like the title
• “Automate 100% of the things that should be
automated.” ~ Alan Page
• Python is a scripting language
• Quick and dirty scripts
• Generating, moving, renaming and manipulating files
• Libraries for everything!
@joshin4colours
MAINSTREAM IN AUTOMATION
• Just like the title
• “Automate 100% of the things that should be automated.”
~ Alan Page
• Python is a scripting language
• Quick and dirty scripts
• Generating, moving, renaming and manipulating files
• Libraries for everything!
@joshin4colours
SAUCE LABS ❤’S PYTHON
@joshin4colours
What better time to get into Python
(3.5+)?
@joshin4colours
PYTEST – AN AWESOME TEST TOOL
• Pytest is a good test automation framework
• Widely supported by the Python community
• Low-overhead for getting started
@joshin4colours
Let’s See Pytest In Action
@joshin4colours
CODE EXAMPLES
PYTEST EXAMPLES
• Idea: Let’s look at different levels of testing
• Unit
• API/Service
• Browser
• Pytest can handle each of these levels awesomely
@joshin4colours
PYTEST EXAMPLES
• What better place to start than with the weather?
• (Canadians talk a lot about the weather)
@joshin4colours
TAKE-AWAYS
• Pytest is a flexible test runner and library for all
kinds of test automation
• The Pytest plugin ecosystem is also awesome
• Let the tools do the tooling work for you
@joshin4colours
THANK YOU!

More Related Content

KEY
Erlang: TL;DR
PDF
Business of APIs
PPTX
#ImpactSalesforceSaturday: Einstein bot basic to advanced
PDF
Pharo4: Plans and Dreams
PPTX
RedHunt BlackHat US 2018 Arsenal - RedHunt OS (VM)
PPTX
Python Bluetooth
PDF
A Comprehensive Overview of Python in Real-World Scenarios
PDF
Programming for data science in python
Erlang: TL;DR
Business of APIs
#ImpactSalesforceSaturday: Einstein bot basic to advanced
Pharo4: Plans and Dreams
RedHunt BlackHat US 2018 Arsenal - RedHunt OS (VM)
Python Bluetooth
A Comprehensive Overview of Python in Real-World Scenarios
Programming for data science in python

Similar to PyTest - The Awesome Parts by Josh Grant (20)

PDF
Detailed Guide on Python for Web, AI, and Data Use
PDF
Pythonanditsapplications 161121160425
PPTX
Python and its Applications
PDF
Python For All | Software Professionals, QA & DevOps professionals
PDF
Python for All
PPTX
python bridge course for second year.pptx
PPTX
Lecture 1.pptx
PDF
IRJET- Why Python Rocks for Research....???
PDF
Capabilities Of Python App Development In 2022.pdf
PDF
A Whirlwind Tour Of Python
PPTX
Basic Python Introduction Lecture 1.pptx
PPTX
Muhammad Sarfaraz(Presentation) Final.pptx
PPTX
Introduction to Python Programming Language For Artificial Intelligence
PDF
What Is The Future of Data Science With Python?
PPTX
Python with data Sciences
PDF
Python in Industry
PDF
Lec-1-Introduction to Python.pdf gla University
PDF
PYTHON: A brief introduction for beginners
PPTX
Python Scope In Future
PDF
Python vs. r for data science
Detailed Guide on Python for Web, AI, and Data Use
Pythonanditsapplications 161121160425
Python and its Applications
Python For All | Software Professionals, QA & DevOps professionals
Python for All
python bridge course for second year.pptx
Lecture 1.pptx
IRJET- Why Python Rocks for Research....???
Capabilities Of Python App Development In 2022.pdf
A Whirlwind Tour Of Python
Basic Python Introduction Lecture 1.pptx
Muhammad Sarfaraz(Presentation) Final.pptx
Introduction to Python Programming Language For Artificial Intelligence
What Is The Future of Data Science With Python?
Python with data Sciences
Python in Industry
Lec-1-Introduction to Python.pdf gla University
PYTHON: A brief introduction for beginners
Python Scope In Future
Python vs. r for data science
Ad

More from QA or the Highway (20)

PDF
KrishnaToolComparisionPPT.pdf
PPTX
Ravi Lakkavalli - World Quality Report.pptx
PPTX
Caleb Crandall - Testing Between the Buckets.pptx
PDF
Thomas Haver - Mobile Testing.pdf
PDF
Thomas Haver - Example Mapping.pdf
PDF
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
PDF
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
PDF
Jeff Sing - Quarterly Service Delivery Reviews.pdf
PDF
Leandro Melendez - Chihuahua Load Tests.pdf
PDF
Rick Clymer - Incident Management.pdf
PPTX
Robert Fornal - ChatGPT as a Testing Tool.pptx
PDF
Federico Toledo - Extra-functional testing.pdf
PPTX
Andrew Knight - Managing the Test Data Nightmare.pptx
PDF
Melissa Tondi - Automation We_re Doing it Wrong.pdf
PDF
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
PPTX
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
PDF
Damian Synadinos - Word Smatter.pdf
PDF
Lee Barnes - What Successful Test Automation is.pdf
PPTX
Jordan Powell - API Testing with Cypress.pptx
PPTX
Carlos Kidman - Exploring AI Applications in Testing.pptx
KrishnaToolComparisionPPT.pdf
Ravi Lakkavalli - World Quality Report.pptx
Caleb Crandall - Testing Between the Buckets.pptx
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Example Mapping.pdf
Joe Colantonio - Actionable Automation Awesomeness in Testing Farm.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Jeff Sing - Quarterly Service Delivery Reviews.pdf
Leandro Melendez - Chihuahua Load Tests.pdf
Rick Clymer - Incident Management.pdf
Robert Fornal - ChatGPT as a Testing Tool.pptx
Federico Toledo - Extra-functional testing.pdf
Andrew Knight - Managing the Test Data Nightmare.pptx
Melissa Tondi - Automation We_re Doing it Wrong.pdf
Jeff Van Fleet and John Townsend - Transition from Testing to Leadership.pdf
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
Damian Synadinos - Word Smatter.pdf
Lee Barnes - What Successful Test Automation is.pdf
Jordan Powell - API Testing with Cypress.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptx
Ad

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Encapsulation theory and applications.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Empathic Computing: Creating Shared Understanding
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Monthly Chronicles - July 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Encapsulation theory and applications.pdf
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Empathic Computing: Creating Shared Understanding
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

PyTest - The Awesome Parts by Josh Grant

  • 1. PYTEST: THE AWESOME PARTS J O S H G R A N T, S O L U T I O N A R C H I T E C T
  • 3. WHY PYTHON? • An all-purpose language • Gaming, web development, data science, task automation, hardware programming @joshin4colours
  • 4. WHY PYTHON? • Great language to get started with • Cross-platform support (Windows, OSX, *nix) • Lots of resources for getting started at all levels @joshin4colours
  • 7. Why Python For Testers? @joshin4colours
  • 8. MAINSTREAM IN APP DEVELOPMENT @joshin4colours
  • 9. MAINSTREAM IN APP DEVELOPMENT • Many teams use Python for web application development • Front-end • Back-end • Service and middle layers • Using the same language as developers has benefits • Team cohesion and communication • Knowledge transfer • Can be easier to gain traction with tooling @joshin4colours
  • 11. MAINSTREAM IN AUTOMATION • Just like the title • “Automate 100% of the things that should be automated.” ~ Alan Page • Python is a scripting language • Quick and dirty scripts • Generating, moving, renaming and manipulating files • Libraries for everything! @joshin4colours
  • 12. MAINSTREAM IN AUTOMATION • Just like the title • “Automate 100% of the things that should be automated.” ~ Alan Page • Python is a scripting language • Quick and dirty scripts • Generating, moving, renaming and manipulating files • Libraries for everything! @joshin4colours
  • 13. SAUCE LABS ❤’S PYTHON @joshin4colours
  • 14. What better time to get into Python (3.5+)? @joshin4colours
  • 15. PYTEST – AN AWESOME TEST TOOL • Pytest is a good test automation framework • Widely supported by the Python community • Low-overhead for getting started @joshin4colours
  • 16. Let’s See Pytest In Action @joshin4colours
  • 18. PYTEST EXAMPLES • Idea: Let’s look at different levels of testing • Unit • API/Service • Browser • Pytest can handle each of these levels awesomely @joshin4colours
  • 19. PYTEST EXAMPLES • What better place to start than with the weather? • (Canadians talk a lot about the weather) @joshin4colours
  • 20. TAKE-AWAYS • Pytest is a flexible test runner and library for all kinds of test automation • The Pytest plugin ecosystem is also awesome • Let the tools do the tooling work for you @joshin4colours