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 unittestbased test suites and will learn some tricks to make the jump to a pytest-style test suite quickly and easily.
* Actual course outline may vary depending on offering center. Contact your sales representative for more information.
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
Length: 2.0 days (16 hours)
6:00 PM ET
6:00 PM ET