Ned Batchelder

Why your mock doesn’t work

2 August

Mocking is a powerful technique for isolating tests from undesired interactions among components. But often people find their mock isn’t taking effect, and it’s not clear why. » more..

Set_env.py

21 July

A good practice when writing complicated software is to put in lots of debugging code. This might be extra logging, or special modes that tweak the behavior to be more understandable, or switches to turn off some aspect of your test suite so you can focus on the part you care about at the moment. » more..

Coverage.py 5.0a6: context reporting

17 July

I’ve released another alpha of coverage.py 5.0: coverage.py 5.0a6. There are some design decisions ahead that I could use feedback on. » more..

Changelog podcast: me, double-dipping

29 June

I had a great conversation with Jerod Santo on the Changelog podcast: The Changelog 351: Maintainer spotlight! Ned Batchelder. » more..

More blog ·· audio · autism · cakes · coding · coverage · debugging · dev-mindset · development · edx · friends-&-family · gatherings · git · graphics · how-to · juggling · linters · mac · math · online · open-source · parenting · presentations · puzzles · pycon · python · testing · typography · unix · 2019 · 18 · 17 · 16 · 15 · 14 · 13 · 12 · 11 · 10 · 09 · 08 · 07 · 06 · 05 · 04 · 03 · 02 · RSS feed » more topics..

Code

software I made

  • Aptus ·· a Mandelbrot set explorer
  • coverage.py ·· for measuring Python code coverage
  • hyphenate ·· for hyphenating words with the Liang/Knuth algorithm

» more code..

Text

words I wrote

» more text..