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
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
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
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