← Back to all articles

Ned Batchelder

Creator of coverage.py. Python community leader and Boston Python organizer.

https://nedbatchelder.com

Articles

No more .html

Site removed .html extensions from URLs after 24 years because someone said they looked outdated like files.

Generating data shapes with Hypothesis

Hypothesis can randomly generate schemas (not just data) to test a Hasher class, avoiding false positives from type mismatches like [0] vs [False].

A testing conundrum

Author creates a fingerprinting class for nested data structures but struggles to write comprehensive tests for all possible data shapes.

Autism Adulthood, 3rd edition

Susan's 3rd edition of "Autism Adulthood" features interviews with autistic adults, families & professionals, offering diverse perspectives on autism.

Why your mock breaks later

Mocking in the wrong location may work initially but breaks later when code changes, causing hard-to-debug test failures.