Software Testing with Python: PCAT Exam Preparation
Make testing faster, more reliable and repeatable through automation.
About this course
Make testing faster, more reliable and repeatable through automation. Over five days you will plan an automation approach, build maintainable test suites with pytest fixtures, parametrisation and markers, and isolate code with mocks and patching.
You will automate integration and API tests, practise test-driven development, measure coverage and run your tests automatically in a continuous integration workflow. Practice questions throughout prepare you for the Certified Associate Tester with Python exam.
What you'll learn
- Plan a test automation approach suited to a project
- Build maintainable test suites with pytest fixtures, parametrisation and markers
- Isolate code under test with mocks, stubs and patching
- Automate integration and API tests in Python
- Measure test coverage and interpret the results
- Run automated tests as part of a continuous integration workflow
- Approach the PCAT exam with a clear understanding of its format and question styles
Curriculum
- When and what to automate
- The test pyramid
- Choosing tools and frameworks
- Costs and benefits of automation
- Fixtures and fixture scopes
- Parametrised tests
- Markers and selecting tests
- Configuration with conftest.py
- Mocks, stubs and fakes
- Using unittest.mock
- Patching dependencies
- Testing code that uses files and time
- Testing components together
- Testing REST APIs from Python
- Managing test data
- Testing with databases
- The red, green, refactor cycle
- Writing tests before code
- Refactoring safely
- Behaviour-driven ideas
- Measuring coverage
- Interpreting coverage reports
- Code quality and static analysis tools
- Keeping test suites maintainable
- Running tests automatically on each change
- Test reports and failure analysis
- Handling flaky tests
- Version control and testing workflow
- PCAT exam structure and question types
- Timed practice questions
- Reviewing weak areas
- Test-day preparation
Who it's for
Testers and developers with a foundation in testing and Python who want to automate their tests and earn the PCAT certification.
Before you start
- Knowledge equivalent to the PCET level, or our Software Testing with Python: PCET Exam Preparation course
- Working knowledge of Python functions, classes and modules
Prepares for
Related courses
More in Programming & Web Development →Advanced Java 9
Programming & Web Development
View course →Android Studio Development Essentials
Programming & Web Development
View course →Blockchain: An Overview for Business Professionals
Programming & Web Development
View course →Computer Vision with Python OpenCV
Programming & Web Development
View course →Database Design - Beginner
Programming & Web Development
View course →Flask Development with Python
Programming & Web Development
View course →Let's plan your next step together.
Tell us the course or certification you have in mind and we'll send the outline, upcoming dates, fees and private-team options.