Course Outline
Introduction to Unit Testing with PyTest
Unit Testing with UnitTest vs Unit Testing with PyTest
Writing Readable and Maintainable Tests
Using Mocks, Fakes and Stubs
Using Hooks, Assert Rewriting and Plug-ins
Streamlining Your Tests with Fixtures and Parameterized Testing
Obtaining the Desired Test Coverage
Generating Testable Documentation with Doctest
Integrating Python Unit Tests into a Continuous Integration (CI) Environment
Scaling Your Python Unit Tests
Use Python to Test Non-Python Applications
Summary and Conclusion
Requirements
- A general understanding of automation testing
Audience
- Software testers
Delivery Options
Private Group Training
Our identity is rooted in delivering exactly what our clients need.
- Pre-course call with your trainer
- Customisation of the learning experience to achieve your goals -
- Bespoke outlines
- Practical hands-on exercises containing data / scenarios recognisable to the learners
- Training scheduled on a date of your choice
- Delivered online, onsite/classroom or hybrid by experts sharing real world experience
Private Group Prices RRP from £5700 online delivery, based on a group of 2 delegates, £1800 per additional delegate (excludes any certification / exam costs). We recommend a maximum group size of 12 for most learning events.
Contact us for an exact quote and to hear our latest promotions
Public Training
Please see our public courses
Testimonials (7)
Expertise of the trainer, even if we asked very precise questions about specific topic, he was able to provide really meaningful and valuable for us questions. He has designed agenda of the training according to our needs and requests.
Filip - Orange Szkolenia Sp. z o.o.
Course - Unit Testing with Python
I loved summaries
Martyna - Orange Szkolenia Sp. z o.o.
Course - Unit Testing with Python
Materials Trainer
Zakar Abid - TII
Course - Unit Testing with Python
Did hands on exercise. Walked through the code. Explained everything very well
Steve Thomas - TII
Course - Unit Testing with Python
No rushing things, though a bit too slow sometimes. Checking excercises with group and comparing solutions
Piotr - ArcelorMittal Business Center of Excellence Poland Sp. z o.o. Sp. k.
Course - Unit Testing with Python
The trainer is interactive with the audience. He is able to reply the questions easily and gives the accurate examples and illustrations in real life. The theoritical and practical rythm are smooth. The exercices give the user a better experience to think and structure his/ her way of testing and developping. Numpy and Pandas may be useful in order to better exploit data, such as performance results, statistics, image treatement, calculating the correlation for biological set images. The Django framework would be helpful for building web API. All this knowledge is an asset. However, I am not sure this would be fruitful for other contexts, since we need unit and Integration tests of Java apps in Python.
Soumaya ELALOUANI - Telemis
Course - Unit Testing with Python
That we started from a simple implementation, adding functionalities/features until we need to update the design to keep having a maintainable software. Definitely real life job problems I see value in this. Also liked the use of VideoUpload project as we can relate to this working in Consult Red. Very open to questions, driving the class in a way asked by the audience.