Start With A Failing Test Django
Start with a Failing Test Django#
-
In you app go to
tests.py -
Create a class that extends
TestCaseand a function that starts withtestthat failsclass EntryModelTest(TestCase): def test_string_representation(self): self.fail("TODO Complete this test")
Source: Django Test Driven Development