Holger Krekel

Number of videos:
9
Improving automated testing with py.test
PyCon US 2014
Holger Krekel
Recorded: April 12, 2014Language: English

Many people learn testing through the JUnit/PYUnit paradigm. Lately, py.test's new fixture mechanisms have gained traction among many Pythonistas. This tutorial explores py.test discusses key strategies how to benefit from using py.test for your existing unittest/nose based code bases.

py.test - feature and new release highlights
PyCon DE 2013
Holger Krekel
Recorded: Oct. 17, 2013Language: German

py.test is a popular tool for writing tests in Python. It offers unique features not found in other testing tools. Apart from some basics, this talk introduces the modular fixture mechanism, the assert statement reporting and discusses the latest news of pytest-2.4 such as better doctest support and using contextmanagers in conjunction with fixtures. We'll also quickly discuss the most popular from the many existing plugins.

devpi: driving packaging and testing needs
PyCon DE 2013
Holger Krekel
Recorded: Oct. 15, 2013Language: English

devpi provides both a private pypi server, a self-updating pypi.python.org package cache, and work flow commands for uploading, testing and installing packages. This talk shows some example scenarios and discusses the unique feature of seemlessly "inheriting" the pypi.python.org packages into your private index. We'll also look into how you can perform testing of a package before you push a release to the public index or your company-specific private index.

pytest - rapid and simple testing with pytest
PyCon DE 2012
Holger Krekel
Recorded: Oct. 31, 2012Language: German

Das Werkzeug py.test erlaubt es schnell und einfach Test für Python-Programme zu schreiben. Dieser Vortrag stellt die grundlegende Nutzung von py.test und wichtige Terminologie dazu vor. Zusätzlich zeigt die Präsentation wie py.test Unit- und funktionale Test mit besonderen Mechanismen wie "perfected assertions" und "dependency injection" unterstützt.

Der Vortrag führt in die Prinzipien der Unit- und funktionalen Tests kurz ein und geht auf die Vorteile von py.test gegenüber dem in der Standardbibliothek enthalten Paket unittest ein. So kann py.test Tests, die über verschiedene Python-Versionen und- Implementierungen hinweggehen, ausführen. Der Schreibsstil der Tests ist "pythonic" und die Plugins lassen sich für verschiedene Projekte nutzen.

Nach einem einfachen Test-Beispiel, das die Grundprinzipen umfasst, folgen Beispiel zu "dependency injection". Die Nutzung von py.test im Mozilla Projekt webqa und die Möglichkeiten des "mocking" und "monkeypatching" schließen den Vortrag ab.

pytest - rapid and simple testing with Python
PyCon US 2012
Holger Krekel
Recorded: March 9, 2012Language: English

The py.test tool presents a rapid and simple way to write tests. This talks introduces common testing terms, basic examples and unique pytest features for writing unit- or functional tests: assertions and dependency injection mechanisms. We also look at other features like distributing test load, new plugins and reasons why some Redhat and Mozilla people choose pytest over other approaches.

py.test - Rapid Testing with Minimal Effort
PyCon US 2010
Holger Krekel
Recorded: Feb. 19, 2010Language: English
Rapid multi-purpose testing (#81)
PyCon US 2010
Holger Krekel
Recorded: Feb. 19, 2010Language: English
The Ring of Python (#189)
PyCon US 2010
Holger Krekel
Recorded: Feb. 19, 2010Language: English