Introduction Since last summer, I've been looking on and off into a weird and hard to reproduce crash bug in PyPy. It was manifesting only on CI, and it seemed to always happen in the AST rewriting ph| PyPy
Most testing is ineffective Test faster, fix more| hypothesis.works
A talk given at Helsinki Python Meetup.| quanttype.net
Bug Bash 2025 Conference Experience| concerningquality.com
In this post we will cover testing our code. Testing There are many many great resources out there for learning about testing software.| jacobtomlinson.dev
Let’s take for example an incredibly simple code and imagine that it’s incredibly complicated logic. def cat(left, right): """Concatenate two given strings. """ return left + right Tests How can we be sure this code works? No, it’s not obvious. Remember the rules of the game, we have an incredibly complicated realization. So, we can’t say it works or not while we haven’t tested it. def test_cat(): result = cat(left='abc', right='def') assert result == 'abcdef' Now, run pytest:| blog.orsinium.dev