Active Threads:
Most Active This Week
Most Active This Month
Most Active This Year
@brianokken
Python Testing with pytest, Second Edition: typo “one tox environment” (179)
The following sentence appears to have a typo (...
New
@brianokken
The exercises in Chapter 15 refer to the following two directories:
pytest-skip-slow
slow-full
In the downloaded source th...
New
@brianokken
In Chapter 14, exercise 3, there’s the following instruction:
Re-run the tests with --n=auto.
Using my installed version o...
New
@brianokken
Exercise 1 in Chapter 14 contains the instructions:
Head over to pypy.python.org with your favorite browser.
Unfortunately...
New
Most Active Last Three Years
I ran this command after installing the sample application:
$ cards add do something --owner Brian
And got a file not found error:
Fil...
New
When I run the coverage example to report on missing lines, I get:
pytest --cov=cards --report=term-missing ch7
ERROR: usage: pytest [op...
New
When installing Cards as an editable package, I get the following error:
ERROR: File “setup.py” not found. Directory cannot be installe...
New
When running tox for the first time, I got the following error:
ERROR: InterpreterNotFound: python3.10
I realised that I was running ...
New
#book-python-testing-with-pytest-second-edition
Hi. Thanks for writing the book. I am just learning so this might just of been an issue ...
New
When trying to run tox in parallel as explained on page 151, I got the following error:
tox: error: argument -p/–parallel: expected one...
New
Brian, I don’t think this file got updated properly when you uploaded the new version. The README.md file is still missing, and the fix ...
New
Title: Python Testing with pytest, Second Edition page 120
$ cd /path/to/code
$ pytest --cov=cards ch7
Doesn’t seem to work, ch7 folde...
New
What’s next paragraph:
We’ve used them parametrize tests with a single parameter and simple values, like strings.
Should the word the...
New
This is from the PDF of the latest beta release as on 10th Feb, 2022.
Page 13, section titled Writing Knowledge-Building Tests, second p...
New
Brian Okken @brianokken,
The following flags require an extra dash as for pytest 7.1.2:
--lf - for last failed;
--ff - for first fai...
New
The way I have this formatted it is page 80. But when discussing the content of ch3/b/conftest.py you say:
“the cards_db fixture has ca...
New
@brianokken
Brian, the top level README.md file refers to “tasks_proj” instead of “cards_proj”.
Based on this I grepped for “tasks” and...
New
Testing with Typer
A great feature of Typer is that it proves a testing interface
I am not a native english speaker but assume that pr...
New
In the “what changed list”, 3rd bullet point says:
The section [project.entry-points.“pytest-11”] is added […]
However, the code exam...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.