LEADER 04863nam 2200673Ia 450 001 9910456617703321 005 20200520144314.0 010 $a1-84719-483-4 035 $a(CKB)2430000000040687 035 $a(EBL)950540 035 $a(OCoLC)697769038 035 $a(SSID)ssj0000374755 035 $a(PQKBManifestationID)11288984 035 $a(PQKBTitleCode)TC0000374755 035 $a(PQKBWorkID)10447039 035 $a(PQKB)10444503 035 $a(MiAaPQ)EBC950540 035 $a(CaSebORM)9781847194824 035 $a(PPN)227988493 035 $a(Au-PeEL)EBL950540 035 $a(CaPaEBR)ebr10448338 035 $a(EXLCZ)992430000000040687 100 $a20090430d2008 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aSwing extreme testing$b[electronic resource] $ethe extreme approach to complete Java application testing /$fTim Lavers, Lindsay Peters 205 $a1st edition 210 $aBirmingham, U.K. $cPackt Publishing Ltd.$d2008 215 $a1 online resource (328 p.) 225 1 $aFrom technologies to solutions 300 $aIncludes index. 311 $a1-84719-482-6 327 $aCover; Table of Contents; Preface; Chapter 1: What Needs Testing?; An Example; What Classes Do We Test?; Test First-Always!; What Classes Don't We Test?; What Methods Need Testing?; What Methods Don't We Test?; Invoking Hidden Methods and Constructors; Unit Test Coverage; Who Should Implement the Unit Tests?; What About Legacy Code?; Where Does Integration Testing Fit In?; Documentation of Unit Tests; Testing at the Application Level; Who Should Implement the Function Tests?; Automated Test Execution; A Hierarchy of Tests; What Language Should Our Tests Be In?; Is it Really Possible?; Summary 327 $aChapter 2: Basics of Unit TestingA Simple Example; The Default Implementation; Test Cases; Design by Contract and Non-Defensive Programming; Test Code Example; Bootstrapping Our Implementation; Load Testing; Summary; Chapter 3: Infrastructure for Testing; Where Should the Unit Tests Go?; Where Should the Function and Load Tests Go?; Management of Test Data; What Do We Require of a Test Data Management System?; Temporary Files; Summary; Chapter 4: Cyborg-a Better Robot; The Design of Cyborg; Using the Keyboard; Mousing Around; Checking the Screen; Summary 327 $aChapter 5: Managing and Testing User MessagesSome Problems with Resource Bundles; A Solution; The UserStrings Class; ResourcesTester; How ResourcesTester Works; Getting More from UserStrings; Summary; Chapter 6: Making Classes Testable with Interfaces; The LabWizard Comment Editor; The Wizard; A Test for Wizard; A Test for Step; Handlers in LabWizard; Summary; Chapter 7: Exercising UI Components in Tests; The LabWizard Login Screen; The Design of LoginScreen; UI Wrappers; The Correct Implementation of UILoginScreen; A Handler Implementation for Unit Testing; Setting Up our Tests 327 $aOur First TestFurther Tests; Some Implicit Tests; Other User Interfaces; Summary; Chapter 8: Showing, Finding, and Reading Swing Components; Setting Up User Interface Components in a Thread-Safe Manner; Finding a Component; Testing Whether a Message is Showing; Searching for Components by Name; Reading the State of a Component; Case Study: Testing Whether an Action Can Be Cancelled; The Official Word on Swing Threading; Summary; Chapter 9: Case Study: Testing a 'Save as' Dialog; The Ikon Do It 'Save as' Dialog; Outline of the Unit Test; UI Helper Methods; Dialogs 327 $aGetting the Text of a Text FieldFrame Disposal; Unit Test Infrastructure; The UISaveAsDialog Class; The ShowerThread Class; The init() Method; The cleanup() Method; The Unit Tests; The Constructor Test; The wasCancelled() Test; The name() Test; The show() Test; The Data Validation Test; The Usability Test; Summary; Chapter 10: More Techniques for Testing Swing Components; Testing with JColorChooser; Using JFileChooser; Checking that a JFileChooser has been Set Up Correctly; Testing the Appearance of a JComponent; Testing with Frames; Frame Location; Frame Size; Testing with Lists 327 $aList Selection Methods 330 $aThe Extreme approach to complete Java application testing 606 $aComputer software$xTesting 606 $aeXtreme programming 606 $aJava (Computer program language) 608 $aElectronic books. 615 0$aComputer software$xTesting. 615 0$aeXtreme programming. 615 0$aJava (Computer program language) 676 $a005.1/4 700 $aLavers$b Tim$0864959 701 $aPeters$b Lindsay$0864960 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910456617703321 996 $aSwing extreme testing$91930529 997 $aUNINA