![Show Menu](styles/mobile-menu.png)
![Page Background](./../common/page-substrates/page0477.png)
unit tests
architectural solutions for,
402context manager,
177desired features of,
401in Django,
23for simple home page,
21 – 33vs. functional tests,
303vs. functional tests (FT),
22vs. integrated tests,
61pros and cons of,
398 – 401refactoring,
175unit-test/code cycle,
31 – 33unittest,
134Unix sockets,
150Upstart,
151URLs
capturing parameters in,
103distinct,
102in Django,
24 – 30,
88 , 94,
96,
102,
106,
108pointing forms to,
96urls.py,
27 – 30user authentication (see authentication)
user creation,
291user input, saving,
51 – 75user interaction testing,
37 – 40user stories,
19,
170V
Vagrant,
426validation,
169(see also functional tests/testing (FT))
model-layer,
175 – 187(see also model-layer validation)
VCS (version control system),
8 – 11view functions, in Django,
24 , 89 , 94,
105 – 108views layer,
337,
338 – 347,
353model validation errors in,
178 – 182views, what to test in,
223virtual displays,
372Virtualbox,
426virtualenvs,
132,
142 – 144W
waits,
18 , 253 , 379 – 381,
385,
387,
389warnings,
17watch function,
265websockets,
435widgets,
194,
196X
Xvfb,
369,
373,
410Y
YAGNI,
82Index
|
449