Training Python Academy

Training goals dlearning

code: PA-PTPT

Testing is essential for code quality. Tests need to be automated and regularly run to benefit from them. Frameworks such as pytest are based on many years of exercise and help you apply best practices to your tests.

Testing and releasing your code for many different Python versions and implementations can be hard. The new library tox is an effect tool to integrate testing and deployment. It works with and connects to established tools including those for Continuous Integration.

Applying the Python philosophy that simple things should be simple and complex task should be possible, pytest and tox make it easy to get started but at the same time provide powerful features for professional software development.

Conspect Show list

  1. Testing terms: functional, unit, integration, acceptance
  2. Test driven development, "after it work" and legacy-code testing
  3. Pytest basic usage: command line options, test discovery, capturing stdout, assert, expecting exceptions, interactive debugger, simple fixtures
  4. Integrating nose, twisted, django and unittest/2 style tests
  5. Load balancing across multiple CPUs or machines
  6. Configuring and using test coverage analysis
  7. Special test outcomes: skip, xfail and when to use them
  8. Using fixture functions for managing test state
  9. Using fixture functions for controlling external processes
  10. When and how to use mocking to avoid expensive setups
  11. Using tox to run tests against installed libraries and applications
  12. Using tox to build and test sphinx documentation
  13. Using tox to integrate with Jenkins CI or

Each step consists of an input, discussion and self-practice phase.

Download conspect training as PDF

Additional information

Difficulty level
Duration 3 days

The participants will obtain certificates signed by Python Academy.


Authorized Python Academy Trainer.

Other training Python Academy | On Demand

Training thematically related



Contact form

Please fill form below to obtain more info about this training.

* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

900 EUR


Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)



Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit site



Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.



No deadlines for this training.

Suggest your own appointment

Upcoming Python Academy training

Training schedule
Python Academy