Generic filters
Exact matches only
Search in title
Search in content
Search in excerpt

Test Automation with Python | PyTest Essentials (TTPS4832)

The PyTest framework is simple to use but powerful enough to cover complex testing integration scenarios.  PyTest is considered by many to be the true Pythonic approach to testing in Python.

Geared for QA, Test team members and others who want to use the Python testing framework PyTest to implement code testing strategies, Test Automation with Python is a hands-on, two day Python testing course that provides students with the skills required to get started with PyTest right away. Participnats will learn how to get the most out of it in their daily workflow, exploring powerful mechanisms and plugins to facilitate many common testing tasks.  Students will also learn how to use pytest in existing unittest-based test suites and will learn some tricks to make the jump to a pytest-style test suite quickly and easily.

  • Price: $1,895.00
  • Duration: 1 day
  • Delivery Methods: Virtual
Date Time Price Option
Please contact us at info@toptalentlearning.com or 469-721-6100 for this course schedule.
For questions call: (469) 721-6100

Why choose
TOPTALENT?

  • Get assistance every step of the way from our Texas-based team, ensuring your training experience is hassle-free and aligned with your goals.
  • Access an expansive range of over 3,000 training courses with a strong focus on Information Technology, Business Applications, and Leadership Development.
  • Have confidence in an exceptional 95% approval rating from our students, reflecting outstanding satisfaction with our course content, program support, and overall customer service.
  • Benefit from being taught by Professionally Certified Instructors with expertise in their fields and a strong commitment to making sure you learn and succeed.

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

  1. Python Quick Refresh
  • Python Overview
  • Python Basics
  • Python Lab
  1. Introducing PyTest
  • Why Spend time writing test
  • UnitTest Module
  • Why PyTest?
  • Introductory Lab
  1. Writing and Running Test
  • Installing PyTest
  • Writing and Running Tests
  • Organizing files and packages
  • Command Line options
  • Configure pytest.ini
  • Install and Config Lab
  1. Markers and Parameters
  • Mark Basics
  • Built-in marks
  • Parameterization
  • Markers and Parameters Lab
  1. Fixtures
  • Introduction to Fixtures
  • Sharing fixtures with conftest.py files
  • Scopes
  • Autouse
  • Parameterizing fixtures
  • Using marks from fixtures
  • Built-in fixtures
  • Best Practices
  • Fixtures Lab
  • Fixtures Lab 2
  1. Plugins
  • Finding and installing plugins
  • Overview of plugins
  • Plugin Lab
  1. From UnitTest to PyTest
  • Use PyTest as a Test Runner
  • Convert asserts with unitest2pytest
  • Handling setup/teardown
  • Managing test hierarchies
  • Refactoring test utilities
  • Migration strategies

This skills-focused course is approximately 50% hands-on, combining expert lecture, real-world demonstrations and group discussions with machine-based practical labs and exercises.  Working within in a hands-on learning environment students will learn to:

  • Become proficient with pytest from day one by solving real-world testing problems
  • Use pytest to write tests more efficiently
  • Scale from simple to complex and functional testing
  • Write and run simple and complex tests
  • Organize tests in fles and directories
  • Find out how to be more productive on the command line
  • Markers and how to skip, xfail and parametrize tests
  • Explore fxtures and techniques to use them effectively, such as tmpdir, pytestconfg, and monkeypatch
  • Convert unittest suites to pytest using little-known techniques

This in an introductory-level course geared for QA, Test team members and others who want to use the Python testing framework PyTest to implement code testing strategies.  Attendees should have prior basic Python scripting experience.  Students should have some familiarity with tools to be used in this course: PyCharm, Jupyter Notebook and basic GIT.

This in an introductory-level course geared for QA, Test team members and others who want to use the Python testing framework PyTest to implement code testing strategies.  Attendees should have prior basic Python scripting experience.  Students should have some familiarity with tools to be used in this course: PyCharm, Jupyter Notebook and basic GIT.

Ten (10) business days’ notice is required to reschedule a class with no additional fees. Notify TOPTALENT LEARNING as soon as possible at 469-721-6100 or by written notification to info@toptalentlearning.com to avoid rescheduling penalties.
Please contact our team at 469-721-6100; we will gladly guide you through the online purchasing process.
You will receive a receipt and an enrollment confirmation sent to the email you submitted at purchase. Your enrollment email will have instructions on how to access the class. Any additional questions our team is here to support you. Please call us at 469-721-6100.
If a student is 15 minutes late, they risk losing their seat to a standby student. If a student is 30 minutes late or more, they will need to reschedule. A no-show fee will apply. Retakes are enrolled on a stand-by basis. The student must supply previously issued courseware. Additional fees may apply.
You will receive a ‘Certificate of Completion’ once you complete the class. If you purchased an exam voucher for the class, a team member from TOPTALENT LEARNING will reach out to discuss your readiness for the voucher and make arrangements to send it.