Last active
December 22, 2015 20:59
-
-
Save jorgenschaefer/6530464 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frobnicator.py | |
class Frobnicate(object): | |
def gurgle(self): | |
... | |
def bargle(self): | |
... | |
# test_frobnicator.py | |
class FrobnicateTestCase(TestCase): | |
def setUp(self): | |
self.frob = Frobnicate() | |
class TestGurgle(FrobnicateTestCase): | |
def test_should_gurgle_loudly(self): | |
... | |
def test_should_fail_without_water(self): | |
... | |
class TestBargle(FrobnicateTestCase): | |
def test_should_bargle_happily(self): | |
... | |
def test_should_bargle_sadly_on_error(self): | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment