Index


A

ActionFixture class, automating customer tests with FIT, 133 “143
check action command, 134
enter action command, 133
start command, 133
Add Web Reference Wizard, 122
AddReview method
Catalog class, 155 “156
modifications, 172 “173
AddReviewAdapter, add/delete review functionality, 162
AddReviewToRecording method (CatalogService class), 158
AddSecondReview test, 169 “171
AddTwoNumbers method, 250
ADO.NET transactions, 253 “257
automatic management, 253 “256
manual management, 253 “255
participation, 256 “257
algorithms, Sieve of Eratosthenes, 36 “41
adding tests, 43 “44
applying refactoring, 58 “59
collapse loops , 49 “52
converting procedural design to objects, 56 “58
Extract method, 53 “55
Hide method, 44 “45
inlining methods , 46 “47
reducing variable scope, 52, 56
removing dead code, 49, 53
Rename method, 42 “43
rename variables , 47 “49
replacing nested conditionals with guarded clauses, 45
replacing temporary variables, 52 “53
application packages, 206 “208
Data Access, 206
Data Model, 206 “207
Service Interface, 207 “208
appSettings section (configuration file), 74
ArgumentOutOfRangeException, 23
arrays, isPrime, 48 “51
Artist entity (media library application), 65
Artist Gateway, defining DataSet for Recording database, 77 “86, 189
ArtistFixture.cs, 79 “86
primary key management, 78 “86
ArtistFixture class
ArtistFixture.cs, 79 “86
modification to work with DatabaseFixture class, 187 “189
ArtistName method (CatalogAdapter class), 136
ASP.NET
programmer tests, user interfaces, 213
Web service programmer tests, 105 “126
data transformation, 107 “117
database catalog service, 117 “120
tasks , 105 “106
assemblers, RecordingDto, mapping relationships, 113 “117
assertions, 243 “244
attributes
codegen :typedName="Id", 77
codegen:typedName="Review", 76
genreId, 66
minOccurs="0", 77
NUnit
ExpectedException, 246
Ignore, 246 “247
SetUp, 244 “246
TearDown, 244 “246
TextFixtureSetUp, 247 “250
TextFixtureTearDown, 247 “250
Obsolete, 37
SetUp, 74
trackId, 66
TransactionOption.Required, 256
automatic transaction management, 253 “256
automation, customer tests (FIT)
ActionFixture class, 133 “143
bridging FIT and software, 132 “133
CatalogAdapter class, 134 “138
FileRunner class, 135 “136
invalid ID script, 143
verifying review information, 142 “143
verifying track information, 138 “141
averageRating field (RecordingDto), 109



Test-Driven Development in Microsoft .NET
Test-Driven Development in Microsoft .NET (Microsoft Professional)
ISBN: 0735619484
EAN: 2147483647
Year: 2004
Pages: 85

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net