Friendly introduction to software testing:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
[United States]
[Createspace?]
[2017]
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | 229 Seiten 26 cm |
ISBN: | 9781523477371 1523477377 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV046129895 | ||
003 | DE-604 | ||
005 | 20190904 | ||
007 | t | ||
008 | 190828s2017 b||| 00||| eng d | ||
020 | |a 9781523477371 |9 9781523477371 | ||
020 | |a 1523477377 |9 1523477377 | ||
035 | |a (OCoLC)1119115747 | ||
035 | |a (DE-599)BVBBV046129895 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-739 | ||
084 | |a ST 233 |0 (DE-625)143620: |2 rvk | ||
100 | 1 | |a Laboon, Bill |e Verfasser |4 aut | |
245 | 1 | 0 | |a Friendly introduction to software testing |c Bill Laboon |
264 | 1 | |a [United States] |b [Createspace?] |c [2017] | |
300 | |a 229 Seiten |c 26 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Softwaretest |0 (DE-588)4132652-0 |2 gnd |9 rswk-swf |
653 | 0 | |a Computer software / Testing | |
653 | 0 | |a Software para computadora / Pruebas | |
653 | 0 | |a Computer software / Testing | |
689 | 0 | 0 | |a Softwaretest |0 (DE-588)4132652-0 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031510298&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-031510298 |
Datensatz im Suchindex
_version_ | 1804180452759568384 |
---|---|
adam_text | Contents 1 Introduction 7 1.1 1.2 1.3 1.4 1.5 7 7 8 8 8 The Story So Far.................................................................................................................. Testing and Quality Assurance......................................................................................... What This Book Covers...................................................................................................... What This Book Does Not Cover...................................................................................... A Note on Language Choice............................................................................................... 2 What is Software Testing? 11 2.1 A Definition of Software Testing ...................................................................................... 2.2 Verification and Validation ............................................................................................... 2.3 A Preliminary Definition of Defect ................................................................................... 2.4 A Real-Life Testing Example............................................................................................ 3 Why Test Software? 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 17 To Test Or Not To Test............................................................................................... No Software Developer is Perfect...................................................................................... Catching Defects Sooner Rather than Later..........................................................
Stability................................................................................................................................. Customer Advocacy........................................................................................................... An Independent, Whole-System Perspective.................................................................... Ensuring Quality.................................................................................................................. Risk................................................................................................................................. ... . 4 Testing Basics 4.1 4.2 4.3 4.4 4.5 4.6 21 23 24 25 26 27 29 Testability.............................................................................................................................. Functional versus Non-Functional...................................................................................... A Note on Naming Requirements...................................................................................... 6 Test Plans 6.1 6.2 17 18 18 18 19 19 19 20 21 Equivalence Classes and Behavior.............................. Interior and Boundary Values............................................................................................ Base Cases, Edge Cases, Corner Cases........................... Success Cases and Failure Cases ...................................................................... Black-, White-, and Grey-Box Testing............................................................................. Static
and Dynamic Testing............................................................................................... 5 Requirements 5.1 5.2 5.3 11 12 13 14 31 33 34 37 The Basic Layout of a Test Plan...................................................................................... Developing a Test Plan........................................ 3 37 43
CONTENTS 4 6.3 6.4 6.5 6.6 Test Fixtures........................................................................................................................ Executing a Test Plan......................................................................................................... Test Run Tracking .·... ................................................................................................... Traceability Matrices............................................................................................................ 45 45 47 48 7 Breaking Software 7.1 Errors To Look For............................................................................................................... 7.2 The List Goes On and On................................................................... 51 51 58 8 A Test Plan Walkthrough 8.1 Examining The Requirements............................................................................................. 8.2 Plotting Out the Test Plan................................................................................................ 8.3 Filling Out the Test Plan................................................................................................... 8.4 Determining Focus ............................................................................................................... 8.5 Test Cases for a Non-Functional Requirement . . ........................................................... 61 61 62 63 66 69 9 Defects 9.1 What is a Defect?
............................................................................................................... 9.2 The Defect Life Cycle....................................... 9.3 A Standardized Defect Template...................................................................................... 9.4 Exceptions to the Template................................................................................................ 9.5 Defect Examples.................................................................................................................. 71 71 72 74 79 79 10 Smoke And Acceptance Testing 10.1 Smoke Testing ..................................................................................................................... 10.2 Acceptance Testing............................................................................................................... 83 83 84 11 Exploratory Testing 11.1 Benefits and Drawbacks of Exploratory Testing.............................................................. 11.2 Guidelines for Exploratory Testing................................................................................... 87 87 89 12 Manual versus Automated Testing 12.1 Benefits and Drawbacks of Manual Testing .................................................................... 12.2 Benefits and Drawbacks of Automated Testing .............................................................. 12.3 The Real World..................................................................................................................... 91 91 93 95 13 An Introduction to Unit
Testing 97 13.1 Unit Tests: The Very Idea................................................................................................... 97 13.2 An Example in Natural Language....................................................................................... 99 13.3 Turning Our Example Into a Unit Test............................................................................. 100 13.4 Problems With Unit Testing................................................................................................ 104 13.5 Creating a Test Runner...................................................................................................... 105 14 Advanced Unit Testing 109 14.1 Test Doubles........................................................................................................................ 109 14.2 Stubs .................................................................................................................................... 113 14.3 Mocks and Verification......................................................................................................... 114 14.4 Fakes........................ 116 14.5 Setup and Teardown............................................................................................................ 117 14.6 Testing System Output ..................... 118 14.7 Testing Private Methods...................................................................... 119 14.8 Unit Test Structure............................................................................ 121
CONTENTS 14.9 Code Coverage.......................... 5 125 15 Test-Driven Development 15.1 15.2 15.3 15.4 15.5 15.6 129 What is TDD?................................... 129 The Red-Green-Refactor Loop . . ................................................................................ 132 Principles of Test-Driven Development.......................................................................... 133 Example: Building FizzBuzz via TDD..........................................................................133 Benefits of TDD ............................................................................................................. 137 Drawbacks of TDD.......................................................................................................... 139 16 Writing Testable Code 16.1 16.2 16.3 16.4 16.5 16.6 16.7 16.8 16.9 141 What Do We Mean By Testable Code?..............................................................................141 The Basic Strategies for Testable Code..............................................................................142 Provide a Scriptable Interface............................................................................................ 144 Write Tests Up-Front........................................................................................................... 145 DRYing Up Code................................................................................................................. 145 Dependency Injection ........................................................................................................
147 TUFs and TUCs................................................................................................................. 148 Dealing with Legacy Code.................................................................................................. 148 Final Thoughts On Writing TestableCode......................................................................... 150 17 Pairwise and Combinatorial Testing 17.1 17.2 17.3 17.4 Permutations and Combinations................................................................................... Pairwise Testing............................................................................................................. n-Way Interactions.......................................................................................................... Working with Larger Variable Sets................................................................................ 18 Stochastic and Property-Based Testing 18.1 18.2 18.3 18.4 Infinite Monkeys and Infinite Typewriters.................................................................... Property-Based Testing.................................................................................................. Smart, Dumb, Evil, and Chaos Monkeys....................................................................... Mutation Testing.................................................................................. 151 152 154 157 158 159 159 160 161 163 19 Performance Testing 19.1 19.2 19.3 19.4 19.5 19.6 19.7 19.8 169 Categories of Performance
Indicators.................................................................................170 Testing Performance: Thresholds and Targets.............................................................. 170 Key Performance Indicators............................................................................................... 171 Testing Service-Oriented Indicators: Response Time.................................................. 172 Testing Service-Oriented Indicators: Availability ............................................................175 Testing Efficiency-Oriented Indicators: Throughput.................................... 178 Testing Efficiency-Oriented Indicators: Utilization ...................................................... 179 General Tips and Advice When Performance Testing.................................................. 180 20 Security Testing 20.1 Challenges in Security Testing.............................. 20.2 Basic Concepts in Computer Security............... 20.3 Common Attacks and How to Test Against Them 20.4 Penetration Testing................................... 20.5 General Guidelines................................................ 183 184 185 187 191 192 21 Interacting with Stakeholders 193 21.1 Who and What are Stakeholders?...................................................................................193
CONTENTS 6 21.2 21.3 21.4 21.5 21.6 21.7 21.8 21.9 Reporting and Communicating . . . .............................................................................. 195 The Red-Yellow-Green Template....................................................................................... 196 Status Reports......................................................................... 199 A Note on Managing Expectations................................................................................... 199 A Note on Meetings . . . ........................... 200 Clarifying Requirements............... 200 Ethical Obligations...................................................................................................................201 Respect.................................... 202 22 Conclusion 203 23 Testing Templates 205 23.1 23.2 23.3 23.4 Test Case Template ............................................. 205 Defect Reporting Template................................................................................................... 205 Red-Yellow-Green Template.......................................... 206 Daily Status Report ................................................................................................................ 206 24 Using Reflection to Test Private Methods in Java 207 25 Further Reading 213 26 Glossary of Terms 215 27 Acknowledgments 229
|
any_adam_object | 1 |
author | Laboon, Bill |
author_facet | Laboon, Bill |
author_role | aut |
author_sort | Laboon, Bill |
author_variant | b l bl |
building | Verbundindex |
bvnumber | BV046129895 |
classification_rvk | ST 233 |
ctrlnum | (OCoLC)1119115747 (DE-599)BVBBV046129895 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01350nam a2200361 c 4500</leader><controlfield tag="001">BV046129895</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20190904 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">190828s2017 b||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781523477371</subfield><subfield code="9">9781523477371</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1523477377</subfield><subfield code="9">1523477377</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1119115747</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV046129895</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 233</subfield><subfield code="0">(DE-625)143620:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Laboon, Bill</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Friendly introduction to software testing</subfield><subfield code="c">Bill Laboon</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">[United States]</subfield><subfield code="b">[Createspace?]</subfield><subfield code="c">[2017]</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">229 Seiten</subfield><subfield code="c">26 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Softwaretest</subfield><subfield code="0">(DE-588)4132652-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="653" ind1=" " ind2="0"><subfield code="a">Computer software / Testing</subfield></datafield><datafield tag="653" ind1=" " ind2="0"><subfield code="a">Software para computadora / Pruebas</subfield></datafield><datafield tag="653" ind1=" " ind2="0"><subfield code="a">Computer software / Testing</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Softwaretest</subfield><subfield code="0">(DE-588)4132652-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031510298&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-031510298</subfield></datafield></record></collection> |
id | DE-604.BV046129895 |
illustrated | Not Illustrated |
indexdate | 2024-07-10T08:35:59Z |
institution | BVB |
isbn | 9781523477371 1523477377 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-031510298 |
oclc_num | 1119115747 |
open_access_boolean | |
owner | DE-739 |
owner_facet | DE-739 |
physical | 229 Seiten 26 cm |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | [Createspace?] |
record_format | marc |
spelling | Laboon, Bill Verfasser aut Friendly introduction to software testing Bill Laboon [United States] [Createspace?] [2017] 229 Seiten 26 cm txt rdacontent n rdamedia nc rdacarrier Softwaretest (DE-588)4132652-0 gnd rswk-swf Computer software / Testing Software para computadora / Pruebas Softwaretest (DE-588)4132652-0 s DE-604 Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031510298&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Laboon, Bill Friendly introduction to software testing Softwaretest (DE-588)4132652-0 gnd |
subject_GND | (DE-588)4132652-0 |
title | Friendly introduction to software testing |
title_auth | Friendly introduction to software testing |
title_exact_search | Friendly introduction to software testing |
title_full | Friendly introduction to software testing Bill Laboon |
title_fullStr | Friendly introduction to software testing Bill Laboon |
title_full_unstemmed | Friendly introduction to software testing Bill Laboon |
title_short | Friendly introduction to software testing |
title_sort | friendly introduction to software testing |
topic | Softwaretest (DE-588)4132652-0 gnd |
topic_facet | Softwaretest |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=031510298&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT laboonbill friendlyintroductiontosoftwaretesting |