Python doctest combines unit testing with documentation. With doctest, you put your unit tests in the Python docstring, and they appear in your documentation as usage examples. Here is how to test pretty printed XML that will look good in your documentation.
Bike Touring Packing List
John McGehee / Blognado, Travel / Bike Touring / 0 Comments
When preparing for my first bike tour, the packing lists I found on the Internet really helped me. Now that I have a bit of experience, my own bicycle touring packing list is good enough to share.
Verify Their Identity Before Sending Money
John McGehee / Blognado, Life Hacks, Personal Finance, Travel / 0 Comments
In the Emergency Scam or Grandparent Scam, the victim must believe that a total stranger is actually a close friend or relative worthy of financial assistance. To unveil this enormous lie, just think up and ask a few simple trivia questions.
Test XML Output Using Python doctest
John McGehee / Blognado, Software Development / doctest, Python, Unit Testing, XML / 1 Comment
Python doctest combines unit testing with documentation. With doctest, you put your unit tests in the Python docstring, and they appear in your documentation as usage examples. Here is how to test pretty printed XML that will look good in your documentation.
My Encounter with Libyan Agents
John McGehee / Blognado, Travel / 0 Comments
My rendezvous with Libyan agents in my apartment when tensions between Libya and the US were at their peak.