Unit Testing with Python - Plan Szkolenia

Ceny nie zawierają podatku VAT
Szkolenie w języku polskim. Na życzenie możliwy język angielski.

Last updated

Kod kursu

pytest

Czas trwania

21 godzin
szkolenie zdalne: 3 lub 6 dni
szkolenie stacjonarne: 3 dni

Wymagania

  • A general understanding of automation testing

Audience

  • Software testers

Opis

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

Plan Szkolenia

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

Opinie uczestników

★★★★★
★★★★★

We also do Consultancy!

Unit Testing with Python Consultancy

We work with leading clients across a wide range of technologies!

Reach out for Project | Staff Enhancement | System Audit Consulting

Kursy w promocyjnej cenie

Newsletter z promocjami

Zapisz się na nasz newsletter i otrzymuj informacje o aktualnych zniżkach na kursy otwarte.
Szanujemy Twoją prywatność, dlatego Twój e-mail będzie wykorzystywany jedynie w celu wysyłki naszego newslettera, nie będzie udostępniony ani sprzedany osobom trzecim.
W dowolnej chwili możesz zmienić swoje preferencje co do otrzymywanego newslettera bądź całkowicie się z niego wypisać.

Zaufali nam

This site in other countries/regions