How to write the simplest unittests in Python
gradstein.info
How to write the simplest unittests in Python
1–2 of 2 posts
Re: How to write the simplest unittests in Python
#2I thought that `import unittest; def TestMyModule(unittest.TestCase): def test_simple(self): self.assert_equal(1,1)`
was short enough, it is shorter than the ruby equivalent and all that `nose` stuff ends up being the same thing as writing the same kind of stuff in a Rakefile...