Cargando…

Mastering unit testing using Mockito and JUnit : an advanced guide to mastering unit testing using Mockito and JUnit /

A practical and easy-to-follow, yet comprehensive, guide to learning advanced JUnit testing. Each topic is explained and placed in context, and for the more inquisitive, there are more details of the concepts used. This book is for you if you are a developer with some experience in Java application...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Acharya, Sujoy (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing, 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 i 4500
001 EBSCO_ocn889266133
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cn|||||||||
008 140723t20142014enka o 001 0 eng d
040 |a E7B  |b eng  |e rda  |e pn  |c E7B  |d OCLCO  |d N$T  |d COO  |d OCLCF  |d OCLCQ  |d AGLDB  |d OCLCQ  |d COCUF  |d ICA  |d K6U  |d CNNOR  |d CCO  |d PIFAG  |d FVL  |d U3W  |d REB  |d D6H  |d STF  |d OCLCQ  |d VTS  |d NLE  |d INT  |d VT2  |d UKMGB  |d OCLCQ  |d WYU  |d G3B  |d TKN  |d OCLCQ  |d UKAHL  |d HS0  |d QGK  |d OCLCO  |d OCLCQ  |d OCLCO 
016 7 |a 018006938  |2 Uk 
019 |a 1259221213 
020 |a 9781783982516  |q (electronic bk.) 
020 |a 1783982519  |q (electronic bk.) 
020 |a 1783982500 
020 |a 9781783982509 
020 |z 9781783982509 
029 1 |a AU@  |b 000056930104 
029 1 |a CHNEW  |b 000689740 
029 1 |a CHNEW  |b 000689742 
029 1 |a DEBSZ  |b 484727206 
029 1 |a UKMGB  |b 018006938 
035 |a (OCoLC)889266133  |z (OCoLC)1259221213 
037 |a 9781783982516  |b Packt Publishing Pvt. Ltd 
050 4 |a QA76.6  |b .A243 2014eb 
072 7 |a REF  |x 018000  |2 bisacsh 
082 0 4 |a 001.642  |2 23 
049 |a UAMI 
100 1 |a Acharya, Sujoy,  |e author. 
245 1 0 |a Mastering unit testing using Mockito and JUnit :  |b an advanced guide to mastering unit testing using Mockito and JUnit /  |c Sujoy Acharya. 
264 1 |a Birmingham, England :  |b Packt Publishing,  |c 2014. 
264 4 |c ©2014 
300 |a 1 online resource (314 pages) :  |b illustrations (some color) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
490 1 |a Community Experience Distilled 
500 |a Includes index. 
588 0 |a Online resource; title from PDF title page (ebrary, viewed July 23, 2014). 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: JUnit 4 -- A Total Recall; Defining unit testing; Working with JUnit 4; Setting up Eclipse; Running the first unit test; Exploring annotations; Verifying test conditions with Assertion; Working with exception handling; Exploring the @RunWith annotation; Working with JUnit 4++; Ignoring a test; Executing tests in order; Learning assumptions; Exploring test suite; Asserting with assertThat; Comparing matchers -- equalTo, is, and not 
505 8 |a Working with compound value matchers -- either, both, anyOf, allOf, and notWorking with collection matchers -- hasItem, and hasItems; Exploring string matchers -- startsWith, endsWith, and containsString; Exploring built-in matchers; Building a custom matcher; Creating parameterized tests; Working with parameterized constructors; Working with parameterized methods; Giving a name; Working with timeouts; Exploring JUnit theories; Externalizing data using @ParametersSuppliedBy and ParameterSupplier; Dealing with JUnit rules; Playing with the timeout rule; Working with the ExpectedException rule 
505 8 |a Unfolding the TemporaryFolder ruleExploring the ErrorCollector rule; Working with the Verifier rule; Learning the TestWatcher rule; Working with the TestName rule; Handling external resources; Exploring JUnit categories; Summary; Chapter 2: Automating JUnit Tests; Continuous Integration; Benefits of CI; Gradle automation; Getting started; Gradling; Gradle plugins; Maven project management; Installation; The Archetype plugin; The Project Object Model (POM) file; Project dependency; The build life cycle; The clean life cycle; The site life cycle; Another Neat Tool (ANT); Jenkins 
505 8 |a The Gradle projectThe Maven project; Building the Ant project; Summary; Chapter 3: Test Doubles; Dummy; Stub; Fake; Mock; Spy; Summary; Chapter 4: Progressive Mockito; Working with Mockito; Why should you use Mockito?; Qualities of unit testing; Drinking Mockito; Configuring Mockito; Mocking in action; Mocking objects; Stubbing methods; Verifying the method invocation; Using argument matcher; Throwing exceptions; Stubbing consecutive calls; Stubbing with an Answer; Spying objects; Stubbing void methods; Capturing arguments with ArgumentCaptor; Verifying the invocation order 
505 8 |a Changing the default settingResetting mock objects; Exploring Mockito annotations; Working with inline stubbing; Determining mocking details; Behavior-driven development with Mockito; Writing tests in BDD style; The BDD syntax; Summary; Chapter 5: Exploring Code Coverage; Understanding code coverage; Learning the inner details of code instrumentation; Configuring the Eclipse plugin; Uncovering the Clover plugin; Working with the EclEmma plugin; Examining the eCobertura plugin; Measuring coverage using Gradle; Working with the Maven Cobertura plugin; Running the Cobertura Ant task; Summary 
520 |a A practical and easy-to-follow, yet comprehensive, guide to learning advanced JUnit testing. Each topic is explained and placed in context, and for the more inquisitive, there are more details of the concepts used. This book is for you if you are a developer with some experience in Java application development as well as a basic knowledge of JUnit testing. But for those whose skill set is void of any prior experience with JUnit testing, the book also covers basic fundamentals to get you acquainted with the concepts before putting them into practise. 
546 |a English. 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a Computer programming. 
650 6 |a Programmation (Informatique) 
650 7 |a computer programming.  |2 aat 
650 7 |a REFERENCE  |x Questions & Answers.  |2 bisacsh 
650 7 |a Computer programming  |2 fast 
776 0 8 |i Print version:  |a Acharya, Sujoy.  |t Mastering unit testing using Mockito and JUnit : an advanced guide to mastering unit testing using Mockito and JUnit.  |d Birmingham, England : Packt Publishing, ©2014  |h v, 295 pages  |k Community experience distilled.  |z 9781783982509 
830 0 |a Community experience distilled. 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=813822  |z Texto completo 
936 |a BATCHLOAD 
938 |a Askews and Holts Library Services  |b ASKH  |n AH26942355 
938 |a ebrary  |b EBRY  |n ebr10895091 
938 |a EBSCOhost  |b EBSC  |n 813822 
994 |a 92  |b IZTAP