ニュース

プログラムの実装前にテストで検証しながら開発を進める「テスト駆動開発」をPythonで行うとき、役に立つフレームワークがpytest。その導入と活用方法の詳細を解説した『テスト駆動Python 第2版』が、CodeZineを運営する翔泳社から8月30日(火)に発売しました。
Improve your Python testing even more. In my last two articles, I introduced pytest, a library for testing Python code (see "Testing Your Code with Python's pytest" Part I and Part II). pytest has ...
An excellent book on the subject is Brian Okken's Python Testing with pytest, published by Pragmatic Programmers. He also has many other resources, about pytest and code testing in general, here.
In this video, I'm going to teach you how to write unit tests in Python using a module called Pytest. It's a skill you'll need to know if you write code in Python, and fortunately, it's relatively ...