Python Testing with pytest (Pragmatic Bookshelf)
Hot This:
Latest Threads About This Book

Reading this chapter several times I’m trying to understand how to properly run test against the code of a package.
It looks to me that ...
New

In the downloadable code in the file: \code\tasks_proj\src\tasks\ tasksdb_tinydb.py
On line 66, the function’s return mistakenly says i...
New

Chapter 6, Specifying Test Directory Locations
2 instances of ‘testspaths’ should be replaced with ‘testpaths’
Loc 6256 and 6289 in Kin...
New

Pin the tinydb version to 3.15.1.
The API changed in the 4.x series of tinydb.
However, the change doesn’t affect you learning pytest. ...
New

Hi Brian,
Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New

Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New

pytest has changed how hook functions access configuration since the book was published. Following is the correct code for recent version...
New

Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks”
While running the smoke tests in Chapter 2, I get these...
New

Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’.
In particula...
New

Do less work when testing your Python code, but be just as expressive, elegant, and readable. The pytest testing framework helps you writ...
New
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
Most Active Over Three Years

Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’.
In particula...
New

Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks”
While running the smoke tests in Chapter 2, I get these...
New

Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New

Hi Brian,
Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New

Do less work when testing your Python code, but be just as expressive, elegant, and readable. The pytest testing framework helps you writ...
New

Pin the tinydb version to 3.15.1.
The API changed in the 4.x series of tinydb.
However, the change doesn’t affect you learning pytest. ...
New

pytest has changed how hook functions access configuration since the book was published. Following is the correct code for recent version...
New

Chapter 6, Specifying Test Directory Locations
2 instances of ‘testspaths’ should be replaced with ‘testpaths’
Loc 6256 and 6289 in Kin...
New

In the downloadable code in the file: \code\tasks_proj\src\tasks\ tasksdb_tinydb.py
On line 66, the function’s return mistakenly says i...
New

Reading this chapter several times I’m trying to understand how to properly run test against the code of a package.
It looks to me that ...
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.