Background Image
Table of Contents Table of Contents
Previous Page  475 / 478 Next Page
Information
Show Menu
Previous Page 475 / 478 Next Page
Page Background

model-layer validation,

175 187

changes to test,

216

enforcing,

186

errors in View,

178 182

integrity errors,

217

POST requests,

183 187

preventing duplicates,

212

refactoring,

175

,

184 186

unit testing,

177 178

at views level,

218

Model-View-Controller (MVC),

24 , 435

ModelForm,

195

Mozilla Persona,

242

MVC frameworks,

24 , 435

N

namespacing,

258

Nginx,

138

,

144 146 , 149

,

165

,

424

nonroot user creation,

137

notifications,

433

O

ORM (Object-Relational Mapper),

60 64

Outside-In TDD,

323 335

advantages,

323

controller layer,

326

defined,

335

vs. Inside-Out,

323

model layer,

331 333

pitfalls,

335

presentation layer,

325

template hierarchy,

327 329

views layer,

326 331

,

333

P

PaaS (Platform-as-a-Service),

136

Page pattern,

390 393

,

396

patch decorator,

278

,

301

patching,

287

payment systems, testing for,

252

performance testing,

435

Persona,

242

,

252

,

308 310

,

435

PhantomJS,

381 384

,

434

Platform-as-a-Service (PaaS),

136

POST requests,

203

processing,

54

,

183 187

redirect after,

68

saving to database,

65 67

sending,

51 54

,

92

Postgres,

433

private key authentication,

137

programming by wishful thinking,

328

,

335

(see also Outside-In TDD)

property Decorator,

334

provisioning,

136 140

with Ansible,

423 426

automation in,

166

functional tests (FT) in,

139

overview,

152

vs. deployment,

140

pure unit tests (see isolated tests)

py.test,

436

Python

adding to Jenkins,

369

PythonAnywhere,

136 , 409

Q

QuerySet,

61

,

214 216

QUnit,

227

,

235

,

263

,

268

R

race conditions,

374

,

389

Red, Green, Refactor,

58

,

89 , 170

redirects,

68 , 188

refactoring,

40 45

at application level,

183 186

Red, Green, Refactor,

58

,

89 , 170

removing hard-coded URLs,

187

and test isolation,

341

,

362

tips,

190

unit tests,

175

Refactoring Cat,

44 , 112

relative import,

161

,

173

render to string,

56

REST (Representational Site Transfer),

82

S

screenshots,

411

scripts, automated,

132

secret key,

160

Security Engineering (Anderson),

53

security tests,

435

sed (stream editor),

165

Index

|

447