Skip to content

Dan Bernardic

A WordPress blog of a Winnipeg Web Developer

Dan Bernardic

Dan Bernardic

A Winnipeg Web programmer. Member of the Farm At Hand team. Experienced with Web technologies, e.g. HTML5, CSS, ( Server-side ) JS, PHP, WordPress, MVC, etc.

Verified Services

View Full Profile →

Wanna get an email whenever I write a post?

Dan on Twitter

My Tweets

RSS Dan’s posts on the Glacier Ag Web blog

  • An error has occurred; the feed is probably down. Try again later.

Tag: testing

doctest – Testing through documentation

doctest – Testing through documentation

This page has a somewhat in-depth set of examples for writing unit tests in Python with doctest.

http://pymotw.com/2/doctest/#working-around-whitespace specifically shows how to get around some whitespace formatting gotchas.

Format LinkPosted on March 2, 2014March 2, 2014Categories ProgrammingTags doctest, python, testing, unit testingLeave a comment on doctest – Testing through documentation
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy