Unit Testing with Python Training Course

Saigon Tower, 29 Lê Duẩn, Bến Nghé, District 1, Ho Chi Minh City, Vietnam



Unit Testing is a testing approach that tests individual units of source code by modifying their properties or triggering an event to confirm whether the outcome is as expected. PyTest is a full-featured, API-independent, flexible, and extensible testing framework with an advanced, full-bodied fixture model.

In this instructor-led, live training, participants will learn how to use PyTest to write short, maintainable tests that are elegant, expressive and readable.

By the end of this training, participants will be able to:

  • Write readable and maintainable tests without the need for boilerplate code.
  • Use the fixture model to write small tests.
  • Scale tests up to complex functional testing for applications, packages, and libraries.
  • Understand and apply PyTest features such as hooks, assert rewriting and plug-ins.
  • Reduce test times by running tests in parallel and across multiple processors.
  • Run tests in a continuous integration environment, together with other utilities such as tox, mock, coverage, unittest, doctest and Selenium.
  • Use Python to test non-Python applications.

Format of the course

  • Part lecture, part discussion, exercises and heavy hands-on practice

Course Details :

Course Code : pytest
Duration: 21 hours (usually 3 days including breaks)
Workday courses take place between 09:30 and 16:30
– A general understanding of automation testing
– Software testers
Fees : 304860354 VND(Price per participant)
Venue : Ho Chi Minh City, Saigon Tower, Vietnam

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


Add A Review

Please enter input field

NobleProg Limited
Training Service

Book your course now


Your enquiry submitted successfully

Enquiry Submission failed

Please enter input field(s)

Claim this course

To manage this course details kindly claim this course.