Training Python Academy

Training goals

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 travis-ci.org

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

Download conspect training as PDF

Additional information

Prerequisites
Difficulty level
Duration 3 days
Certificate

The participants will obtain certificates signed by Python Academy.

Trainer

Authorized Python Academy Trainer.

Other training Python Academy | On Demand

Training thematically related

Programming

Python

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.

TRAINING PRICE FROM 900 EUR

  • In order to propose a date for this training, please contact the Sales Department

Upcoming Python Academy training

Training schedule
Python Academy