For years I’ve written about contract tests, and most notably have never had any clear examples of them to share with you. I’d like to change that today. I’m sharing this with you as a rough cut, meaning that I haven’t yet taken the time to seriously edit this, nor add much explanation. I feel tired just now, so I want to stop, but at the same time, my loyal readers deserve to see a real example. I’ve spent the last few days messing around with the Atom text editor, writing a packag...