Skip to main content

York Jong's Library tagged UnitTest   View Popular

22 Jul 09

An Extended Introduction to the nose Unit Testing Framework

  • To use the doctest plug-in, go to the directory containing the modules
    and packages you want searched and do


    nosetests --with-doctest
03 Mar 09

doctest — Test interactive Python examples

The doctest module searches for pieces of text that look like interactive Python sessions, and then executes those sessions to verify that they work exactly as shown.

docs.python.org/...doctest.html - Preview

Python UnitTest

  • if __name__ == "__main__":
    import doctest
    doctest.testmod()
30 Jun 07

Are Dynamic Languages Going to Replace Static Languages?

  • My unit tests were preventing me from making type errors. The more I depended upon the unit tests, the less I depended upon the type safety of Java or C++

Strong Typing vs. Strong Testing

  • Most
    Python tests happen at runtime rather than at compile time, but they do happen,
    and that's the important thing (not when).
  • If it's not tested, it's broken.
  • 3 more annotations...
1 - 13 of 13
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo