𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Fit for developing software: framework for integrated tests

✍ Scribed by Mugridge, Rick;Cunningham, Ward


Publisher
Pearson; Prentice Hall
Year
2005;2008
Tongue
English
Leaves
387
Series
Robert C. Martin Series
Edition
3rd print
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Testing was once regarded as a separate and unique discipline within the overallsoftware development process. The reality today is that a growing number ofprojects are spreading the responsibility of testing among more members of theteam. In other words, testing is no longer limited to testers. This new bookintroduces Fit: a proven, effective, and powerful open source framework forautomating the software testing process. Fit (Framework for IntegratedTesting) is vendor-independent and widely praised for its practicality. Eachteaching point of Fit is backed up by supremely useful examples, and RickMugridge and Ward Cunningham (the founder of Fit) offer advice on how tomake Fit digestible to all members of a development team. The result is a costefficientframework that will allow organizations to deliver better software in amore timely fashion.

✦ Table of Contents


Contents......Page 12
Foreword......Page 22
Preface......Page 24
Acknowledgments......Page 26
About the Authors......Page 28
1.1 The Need for Fit......Page 30
1.2 The Value of Fit Tables......Page 31
1.3 Fit and Business Roles......Page 32
1.4 Organization of the Book......Page 34
1.5 The Book’s Use of Color......Page 35
PART I: Introducing Fit Tables......Page 36
2.1 Fit Tables......Page 38
2.2 Tables for Communicating......Page 39
2.5 Reading Fit Tables......Page 40
3.1 Calculating Discount......Page 42
3.2 Reports: Traffic Lights......Page 43
3.3 Calculating Credit......Page 45
3.4 Selecting a Phone Number......Page 48
3.5 Summary......Page 49
3.6 Exercises......Page 50
4.1 Buying Items......Page 52
4.2 Actions on a Chat Server......Page 55
4.3 Summary......Page 57
4.4 Exercises......Page 58
5.1 Testing Lists Whose Order Is Unimportant......Page 60
5.2 Testing Lists Whose Order Is Important......Page 63
5.4 Exercises......Page 65
6.1 Chat Room Changes......Page 68
6.2 Discount Group Changes......Page 72
6.3 Summary......Page 75
6.4 Exercises......Page 76
7.1 Using Spreadsheets for Tests......Page 78
7.2 Organizing Tests in Test Suites......Page 79
7.3 Using HTML for Tests......Page 81
7.4 Summary......Page 83
7.5 Exercises......Page 84
8.1 Introduction......Page 86
8.2 Getting Started......Page 87
8.3 Organizing Tests with Subwikis......Page 90
8.4 Test Suites......Page 91
8.5 Ranges of Values......Page 92
8.8 Exercises......Page 93
9.1 Expected Errors with Calculations......Page 96
9.3 Summary......Page 98
10.1 Flow-Style Actions with DoFixture......Page 100
10.2 Expected Errors with DoFixture......Page 103
10.3 Actions on Domain Objects with DoFixture......Page 104
10.4 Setup......Page 105
10.6 Ordered List Tables......Page 107
10.8 Summary......Page 108
10.9 Exercises......Page 109
11.1 Business Forms......Page 110
11.2 Testing Associations......Page 111
11.3 Two-Dimensional Images......Page 112
11.5 Exercises......Page 114
PART II: Developing Tables for RentAPartySoftware......Page 116
12.1 RentAPartySoftware......Page 118
12.3 An Initial Plan......Page 119
12.4 The Cast......Page 120
12.6 Summary......Page 121
12.7 Exercises......Page 122
13.2 Choosing Where to Start......Page 124
13.3 The Business Rule......Page 125
13.4 Starting Simple......Page 126
13.5 Adding the Grace Period......Page 127
13.6 Adding High-Demand Items......Page 128
13.7 Reports......Page 129
13.9 Summary......Page 130
13.10 Exercises......Page 131
14.1 Introduction......Page 132
14.2 Cash Rentals......Page 133
14.3 Split and Restructure......Page 136
14.4 Which Client......Page 138
14.5 Summary......Page 140
14.6 Exercises......Page 141
15.2 Charging a Deposit......Page 144
15.3 Dates......Page 147
15.4 Business Transactions......Page 148
15.5 Sad Paths......Page 150
15.6 Reports......Page 151
15.8 Exercises......Page 153
16.1 Introduction......Page 156
16.2 Testing Calculations Instead......Page 157
16.3 Using Durations......Page 160
16.4 Reports......Page 161
16.5 Summary......Page 162
16.6 Exercises......Page 163
17.1 Introduction......Page 166
17.2 The Stories......Page 168
17.3 The First Storytests......Page 169
17.4 The Planning Game......Page 172
17.5 Adding to the Storytests......Page 176
17.6 Progress During the Iteration......Page 177
17.8 Summary......Page 180
17.9 Exercises......Page 182
18.1 Principles of Test Design......Page 184
18.2 Fit Tests for Business Rules......Page 185
18.3 Workflow Tests......Page 190
18.4 Calculation Tests......Page 194
18.5 List Tests......Page 196
18.6 Tests and Change......Page 197
18.8 Summary......Page 199
19.2 Getting Fit at RentAPartySoftware......Page 200
PART III: Introducing Fit Fixtures......Page 204
20.1 Writing Fixtures......Page 206
20.2 Fixtures and Trafic Lights......Page 207
21.1 Fixture CalculateDiscount......Page 208
21.2 Extending Credit......Page 211
21.3 Selecting a Phone Number......Page 213
21.4 ColumnFixture in General......Page 214
21.6 Exercises......Page 215
22.1 Buying Items......Page 216
22.2 Changing State of Chat Room......Page 219
22.3 ActionFixture in General......Page 221
22.4 Summary......Page 222
22.5 Exercises......Page 223
23.1 Testing Unordered Lists......Page 224
23.2 Testing Ordered Lists......Page 226
23.3 Testing a List with Parameters......Page 230
23.5 Exercises......Page 231
24.1 Chat Room Fixtures......Page 232
24.2 Discount Group Fixtures......Page 237
24.3 Summary......Page 240
24.4 Exercises......Page 241
25.1 Standard Values......Page 242
25.2 Values of Money......Page 243
25.5 Exercises......Page 246
26.2 Running Fit on Folders......Page 248
26.5 Other Ways to Run Tests......Page 249
26.6 Summary......Page 250
27.2 Locating the Code......Page 252
27.4 Debugging FitNesse Tests......Page 253
27.6 Exercises......Page 254
28.1 Flow-Style Actions with DoFixture......Page 256
28.2 DoFixtures as Adapters......Page 260
28.4 Expected Errors with DoFixture......Page 261
28.5 Actions on Domain Objects with DoFixture......Page 263
28.6 DoFixture in General......Page 266
28.7 Setup......Page 268
28.8 CalculateFixture Tables......Page 271
28.9 Ordered-List Tables......Page 272
28.10 Testing Parts of a List......Page 273
28.13 Exercises......Page 274
29.1 Business Forms......Page 276
29.2 Testing Associations......Page 277
29.3 Two-Dimensional Images......Page 280
29.4 Summary......Page 281
PART IV: Developing Fixtures for RentAPartySoftware......Page 282
30.2 The Programmers’ Perspective......Page 284
30.3 System Architecture......Page 285
30.4 Test Infecting for Improvements......Page 287
30.5 The Rest of This Part......Page 289
31.1 The Table......Page 290
31.2 Developing the Fixture......Page 291
31.3 Summary......Page 294
31.4 Exercises......Page 295
32.1 Introduction......Page 296
32.2 Spike......Page 298
32.3 The Fixtures......Page 299
32.4 The Adapter......Page 300
32.5 Showing Others......Page 303
32.6 Summary......Page 304
33.1 Test Infecting......Page 306
33.3 Setup......Page 307
33.4 Barriers to Testing......Page 309
33.5 Transactions......Page 311
33.6 Transaction Fixture......Page 312
33.7 Split Domain and Data Source Layers......Page 314
33.8 Reduce Interdependencies......Page 315
33.9 Summary......Page 316
34.1 Introduction......Page 318
34.2 Changing the Date......Page 320
34.4 Date Formatting......Page 321
34.5 Changing the Application in Small Steps......Page 322
34.6 Summary......Page 323
35.1 Testing Directly......Page 324
35.2 Testing Indirectly......Page 326
35.3 Summary......Page 329
36.2 Getting Fit at RPS......Page 330
PART V: Custom Development......Page 334
37.1 Running Fit......Page 336
37.2 Parse Tree......Page 337
37.3 doTable()......Page 338
37.5 The Fixture Subclasses......Page 339
37.6 TypeAdapter......Page 340
37.8 Exercises......Page 341
38.1 Using SetUpFixture......Page 342
38.3 ImageFixture......Page 343
38.4 Summary......Page 345
39.2 Calculator Runner......Page 348
39.3 Reading Tests from a Text File......Page 349
39.4 Reading Tests from a Spreadsheet......Page 351
39.5 Summary......Page 353
40.1 Symmetries: Operations That Cancel Each Other......Page 354
40.2 Generate a Simple Sequence......Page 355
40.3 Generate an Interleaved Sequence......Page 358
40.5 Exercises......Page 361
PART VI: Appendices......Page 362
A.2 Agile Software Development......Page 364
A.3 Ubiquitous Language......Page 365
B. Book Resources Web Site......Page 366
C.2 Other Programming Languages......Page 368
Bibliography......Page 370
B......Page 374
C......Page 375
D......Page 376
F......Page 377
G......Page 378
M......Page 379
Q......Page 380
R......Page 381
S......Page 382
T......Page 383
Y......Page 384

✦ Subjects


Science;Technology;Computer Science;Programming;Software;Technical


πŸ“œ SIMILAR VOLUMES


Fit for Developing Software: Framework f
✍ Rick Mugridge, Ward Cunningham πŸ“‚ Library πŸ“… 2005 πŸ› Prentice Hall 🌐 English

This guide shows how to develop Fit (framework for integrated tests) tables for solving communication, agility, and balance problems in software development. The authors walk through the process of testing calculations with columnfixture tables, testing business problems with actionfixture tables, a

Unit Test Frameworks: Tools for High-Qua
✍ Paul Hamill πŸ“‚ Library πŸ“… 2004 πŸ› O'Reilly Media 🌐 English

<p>This is the only book to explore unit testing as a language-independent, standalone development methodology. It covers the theory and methodology of unit test frameworks, offers instruction in unit test development, provides useful code examples in both Java and C++, and details the most commonly

Flexible Test Automation: A Software Fra
✍ Pasquale Arpaia πŸ“‚ Library πŸ“… 2014 πŸ› Momentum Press 🌐 English

Modern automated industrial systems depend on accurate and prompt monitoring for equipment and system performance, along with determining pending faults and maintenance issues. This new book will offer the newest approaches to developing and writing the software algorithms that underlie automated mo

Advanced Automated Software Testing: Fra
✍ Izzat Alsmadi, Izzat Alsmadi πŸ“‚ Library πŸ“… 2012 πŸ› IGI Global 🌐 English

Software testing is needed to assess the quality of developed software. However, it consumes a critical amount of time and resources, often delaying the software release date and increasing the overall cost. The answer to this problem is effective test automation, which is expected to meet the need

Advanced automated software testing: fra
✍ Izzat Alsmadi (ed.) πŸ“‚ Library πŸ“… 2012 πŸ› IGI Global 🌐 English

Software testing is needed to assess the quality of developed software. However, it consumes a critical amount of time and resources, often delaying the software release date and increasing the overall cost. The answer to this problem is effective test automation, which is expected to meet the need