Skip to content

Dan Bernardic

A WordPress blog of a Winnipeg Web Developer

Dan Bernardic

Dan Bernardic

A Winnipeg Web programmer. Proud member of the Skip the Dishes 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

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
  • Subscribe Subscribed
    Dan Bernardic
    Join 34 other subscribers

    Have a WordPress.com account? Log in now.

  • Dan Bernardic
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar