Closed ndarville closed 11 years ago
Tests:
Functional tests = view tests + template tests + model tests <=> F = V + T + M
.
In other words, is there a reason you would want to separate the two—at least for simple projects? Perhaps for very granular, exhaustive testing.
I guess not. So instead we get:
django-secure
)!'registration.backends.simple.urls'
To start with, model, view, and template tests should just be subsumed under functional tests, until the basic, general tests are done. After that, a granular approach with more exhaustive cases can be developed.
Figure out how to build a test matrix. E.g.: view a URL, and perform a battery of actions as an admin, registered, banned, and anonymous user.
Basic tests done for now. Revisit later.
Categories
See Django’s Nasal Passage.
Resources