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