07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

258<br />

Index<br />

requirements, 55<br />

scalability tests, 231‐232<br />

scenarios, 195‐196<br />

security testing example,<br />

247‐248<br />

test cases selection, 55‐57<br />

block code, 56‐57<br />

block design, 56<br />

test cases verification, 57‐63<br />

block code, 59‐63<br />

block design, 57‐58<br />

test code scenarios, 197‐199<br />

data binding<br />

generating unique keys, 184‐185<br />

for Web tests, 179‐181<br />

database logs, 134‐135<br />

Debug.Assert statements, 141‐142<br />

delegates checklist, 150<br />

dependencies, 130‐131<br />

design and deployment checklist,<br />

156<br />

design reviews, 4<br />

dictionary configuration sources,<br />

251<br />

directory path, 140‐141<br />

disk I/O, 215‐217<br />

distributor service, 137<br />

domain objects, 241‐243<br />

DREAD<br />

acronym defined, 132<br />

threat 1, 133<br />

threat 2, 134<br />

threat 3, 134<br />

threat 4, 135<br />

threat 5, 136<br />

threat 6, 136<br />

threat 7, 137<br />

threat 8, 138<br />

threat 9, 140<br />

threat 10, 140<br />

threat 11, 141<br />

threat 12, 142<br />

E<br />

e-mail threats, 137<br />

end-to-end transaction times, 219<br />

<strong>Enterprise</strong> <strong>Library</strong> 1.1, 188<br />

<strong>Enterprise</strong> <strong>Library</strong> Core, 11‐21<br />

automated tests, 17‐21<br />

automated tests setup, 6‐8<br />

code test cases, 12<br />

design test cases, 11‐12<br />

requirements, 11<br />

test cases verification, 13‐17<br />

code, 14‐17<br />

design, 13‐14<br />

test examples, 17‐21<br />

entropy, 249‐250<br />

entry points, 127‐128<br />

error message faking, 134<br />

event instrumentation, 138‐140<br />

event log flooding, 134<br />

Exception Handling Application<br />

Block, 67‐83<br />

automated tests, 77‐83<br />

automated tests setup, 8<br />

functional testing example,<br />

252‐253<br />

.NET Framework test code<br />

scenarios, 202<br />

performance and scalability,<br />

201‐204<br />

requirements, 67<br />

scenarios, 201<br />

test cases selection, 67‐69<br />

block code, 68‐69<br />

block design, 68<br />

test cases verification, 69‐77<br />

block code, 70‐77<br />

block design, 69‐70<br />

exception management checklist,<br />

148‐149<br />

Exception.Data property, 252<br />

external dependencies, 130‐131<br />

F<br />

FileConfigurationSource class,<br />

241‐243<br />

flat file logs, 135‐136<br />

form post parameters, 180‐181<br />

functional testing<br />

Caching Application Block<br />

example, 254‐255<br />

Cryptography Application Block<br />

example, 249‐250<br />

Data Access Application Block<br />

example, 250‐252<br />

Exception Handling Application<br />

Block example, 252‐253<br />

overview, 2‐3<br />

Security Application Block<br />

example, 255‐256<br />

functional testing overview, 2‐3<br />

G<br />

GC.Collect, 236<br />

general code review checklist, 143<br />

globalization best practices,<br />

159‐165<br />

application blocks, 159‐160<br />

creating a test plan, 160‐163<br />

creating the test environment,<br />

164<br />

executing and analyzing results,<br />

165<br />

pseudo-localization, 163‐164<br />

Strgen tool, 160<br />

H<br />

hardware configurations, 229<br />

harnesses see test harnesses<br />

HashCryptographer class, 248<br />

hits see total transactions<br />

host engine, 171<br />

I<br />

idle time, 219<br />

IExplicitInstrumentationBinder<br />

interface, 241<br />

implementation assumptions, 131<br />

initialization costs<br />

defining performance criteria,<br />

171<br />

measuring, 234‐236<br />

input validation, 140<br />

instrumentation objects, 240‐241<br />

introduction, 1‐9<br />

section, 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!