Courses, seminars and onsite trainings take place in Germany, Canada, the US and all over Europe.
Testing and test-automation in Python with Pytest
This course has been held as an online training course since March 2020. Further Information!
How do you know that your code works proparly after the changes you made today? How do you know your co-workers did not break the code that worked yesterday? Are you waiting to the people in the QA department to find all the issues? What if the broken part only runs once a year on 1st of January? Would you like to be called back to work for urgent maintence first thing in the new year? What if you are the QA department? Writing automated functional tests can help you reduce the risk. It can also make it much easier for you to make progress. This course provides an introduction to the world of testing with Python. It starts with an overview of what is the goal of testing and how it can help you improve the speed of development and the reliability of your applications Then we cover many aspects of writing tests.
Target Group:
Developers QA engineers DevOps engineers Automation engineers
Our other Python-Courses:
Content:- Python Course for Beginners
- Python Intensive Course
- Python for Engineers and Scientists
- Data Analysis with Python
- Object Oriented Programming with Python
- Python for Blockchain
- Python for Cryptography
- Python Text Processing Course
- Python and XML Course
- Python and Bash Programming
- Introduction to Tkinter
- Python and C++ Course
- Django Python Web Application Framework
Details
- Short review of unittest and doctest.
- Getting started with testing: top-down and bottom-up.
- Install and setup pytest
- Arguments of pyttest
- Testing the functions of a module
- Testing the methods of a class
- Capture Standard output and standard error
- Provide Standart input (keyboard input) to the program
- Skipping irrelevant tests
- Handling know issues
- Tests that are expected to fail
- Setup and teardown methods
- xUnit-style Fixtures
- Advanced Pytest-stle fixtures
- Creating your own fixtures
- Separating test executions
- Parametrized tests
- Parallel test run
- Testing command line applications
- Testing web applications
- Testing the REST APIs of microservices
- Creating and understanding test coverage
- Mocking and Monkey Patching
- Faking an external API
- Testing error conditions
- Verifying the proper exceptions are raised.
- Testing how the application behaves when a third-party API breaks.
- Faking random numbers for testing
- Collecting and interpreting code coverage
- Generating XML and JSON reports
- The most common plugins of Pytest
- Configuring Pytest
- Using Linters, PEP8, Flake8 to enhance tests
- Integration with various CI systems
- TDD - Test Driven Development
- Testing Flask-based web application
- Acceptane testing with Selenium
Dates:
Prices for this Python course per day:
- ONLINE:
- €395 per day (exclusive of VAT)
- Toronto, Canada:
- $552 per day (exclusive of HST)
- Lake Constance, Hemmenhofen, Germany:
- €395 per day (exclusive of VAT)
plus € 139 for full board and lodging in 4 star hotel- €395 per day (exclusive of VAT)
- Hamburg, Munich, Frankfurt, Berlin (Germany):
- €420 per day (exclusive of VAT)
- Zurich and Geneva (Switzerland):
- £420 per day (exclusive of VAT)
Attention:
Also included in the price:
Comprehensive material
Also included in the price:
Comprehensive material
© The content and the images of this website are underlying copyright as described in the Imprint.