What customers say ...
A training with excitement and content, energized and rich, and always focused on the essentials. Thank you very much! Excellent trainer, anytime again!
Martin Volbes GAD eG about the course "Fortgeschrittene Programmierung in Python" more...
I really liked the training. It matched the expectations of a student. This training is amazing.
Deepti about the tutorial "Iterators, Generators and Decorators at EuroPython 2014" more...
Good content, thorough explanation, and practice sessions. It will be useful in my day-to-day work. Thank you, Mike!!
Ameya Tipnis, QSpin Vlaanderen bvba about the course "Python for Programmers" more...
Very good course, excellent content. Does require a strong python background which I lacked so perhaps my experience was not typical. Still I learned a very great deal.
Keith Bord, Oracle about the course "Advanced Python" more...
pleasant atmosphere, great full-service setup right group size
Paul Zielke, Bosch Rexroth AG about the course "Python for Programmers" more...
Professional Testing with Python
Dates for Open Courses
|Leipzig||October 05 - 07, 2016||Professional Testing with Python||English register|
Course also available as in-house training. Please ask us at firstname.lastname@example.org
What Participants Say About This Course
I think overall the course was held excellently. I learnt a lot and learnt how to use the different techniques and ideas.
—Vinay Mathew, course participant
Great opportunity to learn directly from the author of py.test.
—a course participant
Impressive & abundant, clear information. It's been a privilege!
—a course participant
People with a Python programming background, interested in best practices of testing Python libraries and applications.
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. Apart from integrating with existing unittest/nose test suites, pytest offers some unique features for writing and organizing your test code.
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.
In 30 steps we introduce terms and tools for testing in Python. Each step consists of an input, discussion and self-practice phase. The main topics of the course are:
- Testing terms: functional, unit, integration, acceptance
- Test driven development, "after it work" and legacy-code testing
- pytest basic usage: command line options, test discovery, capturing stdout, assert, expecting exceptions, interactive debugger, simple fixtures
- Integrating nose, twisted, django and unittest/2 style tests
- Load balancing across multiple CPUs or machines
- Configuring and using test coverage analysis
- Special test outcomes: skip, xfail and when to use them
- Using fixture functions for managing test state in a modular, scalable and parametrizable manner.
- Using builtin fixture functions and fixtures from plugins
- When and how to use mocking to avoid expensive setups
- Understanding plugin hooks and writing your own plugins
- Using tox to run tests against installed libraries and applications
- Using tox to build and test sphinx documentation
- Using tox to integrate with Jenkins CI or travis-ci.org
Each bullet point will be covered with two to three short units with exercises.
This is a hands-on course with lots of student activities. The presentation parts are usually short and include real-life examples. Students will create their own tests from the very beginning. Exercises are an important part of the training. Students are encouraged to bring their own problems to be discussed during the course.
The participants can follow all steps directly on their computers. There are exercises at the end of each unit providing ample opportunity to apply the freshly learned knowledge.
Every participant receives comprehensive printed materials that cover the whole course content as well as all source codes used in the course in electronic form.
The course will be taught either by Holger Krekel or Florin Bruhin or Floris Bruynooghe.
Holger Krekel is the author of pytest and tox. He is a very experienced Python programmer and one of the founders of the famous pypy project. He is a creator or a contributor of many, often widely used, Open Source libraries. Over the last few years, he's has been working intensively in the fields of testing and test-driven development. Holger is currently living in Freiburg, Germany.
Florian Bruhin is committer to pytest and tox. He taught pytest at different conferences. His pytest training at the EuroPython conference 2015 in Bilbao was well received. His deep knowledge of pytest and his well structured teaching approach provide a great learning experience for participants.
Holger Krekel, author of pytest and tox, co-founder of the famous pypy project, and creator or a contributor of many, often widely used, Open Source libraries, strongly endorses Florian Bruhin.
Floris Bruynooghe is a long-time core contributor to pytest as well as an author of several pytest plugins. He is an expert Python developer with extensive experience in testing projects of all shapes and sizes. Furthermore, he has given numerous talks on pytest at conferences and successfully taught pytest courses for Python Academy.
Holger Krekel strongly endorses Floris Bruynooghe as a trainer for pytest.
The Python Academy is sponsor of PyCon Ireland 2016.
The Python Academy is sponsor of EuroSciPy 2016.
The Python Academy is sponsor of PyCon US 2016.
The Python Academy is sponsor of PyData Berlin 2016.
The Python Academy is sponsor of PyCon Sweden 2016.
The Python Academy is sponsor of Python Unconference 2015.
The Python Academy is sponsor of EuroSciPy 2015.
The Python Academy is sponsor of EuroPython 2015.
The Python Academy is sponsor of PyData Berlin 2015.
The Python Academy is sponsor of PyCon Montréal 2015.
The Python Academy is sponsor of Python BarCamp Köln 2015.
The Python Academy is sponsor of Chemnitzer Linux-Tage 2015.
The Python Academy is sponsor of Django Girls Wroclaw 2015.
The Python Academy is sponsor of PyCon Ireland 2014.
The Python Academy is sponsor of EuroSciPy 2014.
The Python Academy is sponsor of PyData London 2014.
The Python Academy is sponsor of EuroPython 2014.
The Python Academy is sponsor of PyCon 2014 Montréal.
The Python Academy is sponsor of Python BarCamp Köln 2014.
The Python Academy is sponsor of PyConDE 2013.
The Python Academy is sponsor of EuroPython 2013.
The Python Academy is sponsor of PyCon US 2013.
The Python Academy is sponsor of EuroSciPy 2013.
The Python Academy is sponsor of PyConPL 2012.
The next open cousers
Python Academy sponsors EuroPython conference 2013
Python Academy sponsors EuroSciPy conference 2013
Python Academy sponsors Python BarCamp in Cologne
Next Meeting of Leipzig Python User Group, November 12, 2013
Introduction to Django, November 11 - 13, 2013
Professional Testing with Python, November 25 - 27, 2013
Advanced Django, January 13 - 15, 2014
Python Academy sponsors PyCon US conference 2013
Python Academy founder receives PSF Community Service Award