sdxpy icon indicating copy to clipboard operation
sdxpy copied to clipboard

Chapter 4 introduces (automated) testing before mentioning how to do so

Open Julian opened this issue 4 months ago • 2 comments

Hi! Thanks for putting this out there (like all the rest of your work it's awesome! I'm evaluating using it for a class this semester.)

If I haven't missed it, I think chapter 4 introduces tests without first showing how to run them (EDIT: it seems probably like this happens in chapter 6).

The first mention is test_glob_lit.py, whose text before it says:

To see if this works, let’s write and run a few tests:

But I don't see where the reader has been told what an automated test is or at least how to run it (presumably with pytest given how the test is written).

Julian avatar Aug 23 '25 13:08 Julian

Thanks @Julian - I hope to do some revisions in 2026, and I'll try to tackle this then.

gvwilson avatar Aug 23 '25 17:08 gvwilson

Ah perfect! I'll be looking out for any ways to pitch in if you're looking for any help then!

Julian avatar Aug 23 '25 17:08 Julian