Overview – Automated Software Testing with Python
- Write automated unit and integration tests for all sorts of Python applications
- Learn about mocking and patching
- Write system tests using Python and Postman
- Set up a continuous integration pipeline using Travis CI
- Write acceptance tests using Behave and Selenium
- Previous knowledge of programming, preferably in Python
- Knowledge of how web applications work
- Understanding of REST APIs will be helpful
Welcome to the most comprehensive course about Automated Testing with Python on Udemy.
I’m Jose, software engineer and founder of Teclado; here to help you truly understand all types of testing with Python. The focus of this course is on testing for the web—we’ll be working with REST APIs and web applications, and technologies such as unittest, Postman, and Selenium.
What will you work with?
This course is jam packed with all the latest technologies for you to use professionally and in personal projects:
- The unittest library, Python’s standard automated testing library;
- Mocking and patching, two essential tools to reduce dependencies when testing;
- unit, integration, system, and acceptance testing—all types of testing to have you fully covered;
- Postman for easy collaboration and creating tests while developing;
- Selenium Webdriver for automated browser tests;
- Git and Travis for continuous integration of your project.
Fundamental Testing Skills
This course will cover every fundamental testing skill that you need to know in order to get a job testing or apply these skills in your existing projects.
From things like mocking and patching using the unittest library, which reduce dependencies and turn complex tests to simple ones; to looking at all types of testing: simple unit tests to large system tests and even customer acceptance tests.
The Testing Pyramid
The Testing Pyramid says you should have a lot of unit tests, slightly fewer integration tests, even fewer system tests, and as few acceptance tests as possible.
Throughout the course we work on this concept, making sure that we have full coverage of every component of our system with unit tests. Then we test the dependencies using integration tests. Finally, we cover the entire system and its assumptions using system tests. Of course, we’ll also look at what acceptance testing is, how we come up with acceptance tests, and some of the best ways to write acceptance tests for a web application using Behavior-Driven Development and Selenium.
Automated Browser Testing
Selenium Webdriver is extremely powerful, particularly when coupled with the efficient and tried-and-tested approach recommended in this course. We’ll design our acceptance tests professionally—just the way you’d do at a software job. We’ll use page models, locators, and step definitions to structure the tests in a reusable way. The customers will be able to come up with acceptance tests that you can easily translate to code.
The course also covers how you can take this much further in your projects!
By implementing a Continuous Integration pipeline that runs your tests whenever you make any changes, you’ll have much higher quality in your projects and not let any pesky bugs pass you by. We’ll look at putting our projects in GitHub and liking the CI pipeline with them.
I’m really excited to guide you through this course!
Join me in this development and testing journey. I’ll see you on the inside!
- Advanced students who want to learn about testing their Python applications to build more complete solutions
- Professionals wanting to learn more about automated testing in their workplace
30 Days Money Back Guarantee