The Resource Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya
Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya
Resource Information
The item Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya represents a specific, individual, material embodiment of a distinct intellectual or artistic creation found in Missouri University of Science & Technology Library.This item is available to borrow from 1 library branch.
Resource Information
The item Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya represents a specific, individual, material embodiment of a distinct intellectual or artistic creation found in Missouri University of Science & Technology Library.
This item is available to borrow from 1 library branch.
- Summary
- This book is ideal for developers who have some experience in Java application development as well as some basic knowledge of test doubles and JUnit testing. This book also introduces you to the fundamentals of JUnit testing, test doubles, refactoring legacy code, and writing JUnit tests for GWT and web services
- Language
- eng
- Extent
- 1 online resource (1 volume)
- Note
- Includes index
- Contents
-
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Exploring Test Doubles; Working with unit tests; Understanding test doubles; Using dummy objects; Working with stubs; Exploring a test spy; Getting started with mock objects; Implementing fake objects -- simulators; Summary; Chapter 2: Socializing with Mockito; Exploring Mockito; Exploring unit test qualities; Realizing the significance of Mockito; Working with Mockito; Adding a Mockito dependency; Stubbing method calls; Throwing exceptions; Using argument matchers
- Working with wildcard matchersWorking with a custom ArgumentMatcher class; Verifying method calls; Verifying zero and no-more interactions; Answering method calls; Understanding the Mockito architecture; Summary; Chapter 3: Accelerating Mockito; Learning advanced Mockito features; Working with void methods; Throwing exceptions from void methods; Working with void method callbacks; Learning doCallRealMethod and doNothing; Exploring doReturn; Verifying arguments using ArgumentCaptor; Working with generic collection arguments; Working with variable arguments and arrays
- Verifying an invocation orderSpying objects; Exploring Mockito annotations; Changing the default Mockito settings; Resetting mock objects; Working with inline stubbing; Determining mock details; Summary; Chapter 4: Behavior-driven Development with Mockito; Understanding the context of BDD; Exploring the top-down strategy; Exploring the bottom-up strategy; Finding the gaps; Exploring BDD; Exercising BDD with Mockito; The BDD syntax; Summary; Chapter 5: Unit Testing the Legacy Code with Mockito; Understanding the legacy code; Exploring testing impediments; Working with PowerMock
- Stubbing static methodsSuppressing static blocks; Suppressing a superclass constructor; Suppressing our own constructor; Suppressing methods; Stubbing private methods; Stubbing final methods; Mocking final classes; Designing for testability with Mockito; Identifying constructor issues; Realizing initialization issues; Working with private methods; Working with final methods; Exploring static method issues; Working with final classes; Learning new concerns; Exploring static variables and blocks; Summary; Chapter 6: Developing SOA with Mockito; Exploring Service-oriented Architecture (SOA)
- Working with web servicesExploring JAX-WS with Eclipse; Developing a RESTful web service; Building a RESTful web service with Spring Framework; Summary; Chapter 7 : Unit Testing GWT Code with Mockito; Exploring Ajax and GWT; Learning the MVP pattern; Developing a GWT application using MVP; Unit testing GWT Code with Mockito; Summary; Index
- Isbn
- 9781783983612
- Label
- Mockito essentials : a practical guide to get you up and running with unit testing using Mockito
- Title
- Mockito essentials
- Title remainder
- a practical guide to get you up and running with unit testing using Mockito
- Statement of responsibility
- Sujoy Acharya
- Title variation
- A practical guide to get you up and running with unit testing using Mockito
- Subject
-
- COMPUTERS -- Programming Languages | Java
- COMPUTERS -- Software Development & Engineering | Quality Assurance & Testing
- Computer software -- Quality control
- Computer software -- Quality control
- Computer software -- Testing
- Computer software -- Testing
- Electronic books
- Electronic books
- Java (Computer program language)
- Java (Computer program language)
- Language
- eng
- Summary
- This book is ideal for developers who have some experience in Java application development as well as some basic knowledge of test doubles and JUnit testing. This book also introduces you to the fundamentals of JUnit testing, test doubles, refactoring legacy code, and writing JUnit tests for GWT and web services
- Cataloging source
- UMI
- http://library.link/vocab/creatorName
- Acharya, Sujoy
- Dewey number
- 005.437
- Illustrations
- illustrations
- Index
- index present
- LC call number
- QA76.75
- LC item number
- .A343 2014
- Literary form
- non fiction
- Nature of contents
- dictionaries
- Series statement
- Community experience distilled
- http://library.link/vocab/subjectName
-
- Computer software
- Computer software
- Java (Computer program language)
- COMPUTERS
- COMPUTERS
- Computer software
- Computer software
- Java (Computer program language)
- Label
- Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya
- Note
- Includes index
- Carrier category
- online resource
- Carrier category code
-
- cr
- Carrier MARC source
- rdacarrier
- Content category
- text
- Content type code
-
- txt
- Content type MARC source
- rdacontent
- Contents
-
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Exploring Test Doubles; Working with unit tests; Understanding test doubles; Using dummy objects; Working with stubs; Exploring a test spy; Getting started with mock objects; Implementing fake objects -- simulators; Summary; Chapter 2: Socializing with Mockito; Exploring Mockito; Exploring unit test qualities; Realizing the significance of Mockito; Working with Mockito; Adding a Mockito dependency; Stubbing method calls; Throwing exceptions; Using argument matchers
- Working with wildcard matchersWorking with a custom ArgumentMatcher class; Verifying method calls; Verifying zero and no-more interactions; Answering method calls; Understanding the Mockito architecture; Summary; Chapter 3: Accelerating Mockito; Learning advanced Mockito features; Working with void methods; Throwing exceptions from void methods; Working with void method callbacks; Learning doCallRealMethod and doNothing; Exploring doReturn; Verifying arguments using ArgumentCaptor; Working with generic collection arguments; Working with variable arguments and arrays
- Verifying an invocation orderSpying objects; Exploring Mockito annotations; Changing the default Mockito settings; Resetting mock objects; Working with inline stubbing; Determining mock details; Summary; Chapter 4: Behavior-driven Development with Mockito; Understanding the context of BDD; Exploring the top-down strategy; Exploring the bottom-up strategy; Finding the gaps; Exploring BDD; Exercising BDD with Mockito; The BDD syntax; Summary; Chapter 5: Unit Testing the Legacy Code with Mockito; Understanding the legacy code; Exploring testing impediments; Working with PowerMock
- Stubbing static methodsSuppressing static blocks; Suppressing a superclass constructor; Suppressing our own constructor; Suppressing methods; Stubbing private methods; Stubbing final methods; Mocking final classes; Designing for testability with Mockito; Identifying constructor issues; Realizing initialization issues; Working with private methods; Working with final methods; Exploring static method issues; Working with final classes; Learning new concerns; Exploring static variables and blocks; Summary; Chapter 6: Developing SOA with Mockito; Exploring Service-oriented Architecture (SOA)
- Working with web servicesExploring JAX-WS with Eclipse; Developing a RESTful web service; Building a RESTful web service with Spring Framework; Summary; Chapter 7 : Unit Testing GWT Code with Mockito; Exploring Ajax and GWT; Learning the MVP pattern; Developing a GWT application using MVP; Unit testing GWT Code with Mockito; Summary; Index
- Control code
- 895288428
- Dimensions
- unknown
- Extent
- 1 online resource (1 volume)
- Form of item
- online
- Isbn
- 9781783983612
- Media category
- computer
- Media MARC source
- rdamedia
- Media type code
-
- c
- Other physical details
- illustrations
- http://library.link/vocab/ext/overdrive/overdriveId
- cl0500000502
- Sound
- unknown sound
- Specific material designation
- remote
- System control number
- (OCoLC)895288428
- Label
- Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya
- Note
- Includes index
- Carrier category
- online resource
- Carrier category code
-
- cr
- Carrier MARC source
- rdacarrier
- Content category
- text
- Content type code
-
- txt
- Content type MARC source
- rdacontent
- Contents
-
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Exploring Test Doubles; Working with unit tests; Understanding test doubles; Using dummy objects; Working with stubs; Exploring a test spy; Getting started with mock objects; Implementing fake objects -- simulators; Summary; Chapter 2: Socializing with Mockito; Exploring Mockito; Exploring unit test qualities; Realizing the significance of Mockito; Working with Mockito; Adding a Mockito dependency; Stubbing method calls; Throwing exceptions; Using argument matchers
- Working with wildcard matchersWorking with a custom ArgumentMatcher class; Verifying method calls; Verifying zero and no-more interactions; Answering method calls; Understanding the Mockito architecture; Summary; Chapter 3: Accelerating Mockito; Learning advanced Mockito features; Working with void methods; Throwing exceptions from void methods; Working with void method callbacks; Learning doCallRealMethod and doNothing; Exploring doReturn; Verifying arguments using ArgumentCaptor; Working with generic collection arguments; Working with variable arguments and arrays
- Verifying an invocation orderSpying objects; Exploring Mockito annotations; Changing the default Mockito settings; Resetting mock objects; Working with inline stubbing; Determining mock details; Summary; Chapter 4: Behavior-driven Development with Mockito; Understanding the context of BDD; Exploring the top-down strategy; Exploring the bottom-up strategy; Finding the gaps; Exploring BDD; Exercising BDD with Mockito; The BDD syntax; Summary; Chapter 5: Unit Testing the Legacy Code with Mockito; Understanding the legacy code; Exploring testing impediments; Working with PowerMock
- Stubbing static methodsSuppressing static blocks; Suppressing a superclass constructor; Suppressing our own constructor; Suppressing methods; Stubbing private methods; Stubbing final methods; Mocking final classes; Designing for testability with Mockito; Identifying constructor issues; Realizing initialization issues; Working with private methods; Working with final methods; Exploring static method issues; Working with final classes; Learning new concerns; Exploring static variables and blocks; Summary; Chapter 6: Developing SOA with Mockito; Exploring Service-oriented Architecture (SOA)
- Working with web servicesExploring JAX-WS with Eclipse; Developing a RESTful web service; Building a RESTful web service with Spring Framework; Summary; Chapter 7 : Unit Testing GWT Code with Mockito; Exploring Ajax and GWT; Learning the MVP pattern; Developing a GWT application using MVP; Unit testing GWT Code with Mockito; Summary; Index
- Control code
- 895288428
- Dimensions
- unknown
- Extent
- 1 online resource (1 volume)
- Form of item
- online
- Isbn
- 9781783983612
- Media category
- computer
- Media MARC source
- rdamedia
- Media type code
-
- c
- Other physical details
- illustrations
- http://library.link/vocab/ext/overdrive/overdriveId
- cl0500000502
- Sound
- unknown sound
- Specific material designation
- remote
- System control number
- (OCoLC)895288428
Subject
- COMPUTERS -- Programming Languages | Java
- COMPUTERS -- Software Development & Engineering | Quality Assurance & Testing
- Computer software -- Quality control
- Computer software -- Quality control
- Computer software -- Testing
- Computer software -- Testing
- Electronic books
- Electronic books
- Java (Computer program language)
- Java (Computer program language)
Genre
Member of
- Community experience distilled
- O'Reilly Safari Learning Platform: Academic edition
- Ebook Central Academic Complete
Library Links
Embed
Settings
Select options that apply then copy and paste the RDF/HTML data fragment to include in your application
Embed this data in a secure (HTTPS) page:
Layout options:
Include data citation:
<div class="citation" vocab="http://schema.org/"><i class="fa fa-external-link-square fa-fw"></i> Data from <span resource="http://link.library.mst.edu/portal/Mockito-essentials--a-practical-guide-to-get-you/C2bcGUZBU0E/" typeof="Book http://bibfra.me/vocab/lite/Item"><span property="name http://bibfra.me/vocab/lite/label"><a href="http://link.library.mst.edu/portal/Mockito-essentials--a-practical-guide-to-get-you/C2bcGUZBU0E/">Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya</a></span> - <span property="potentialAction" typeOf="OrganizeAction"><span property="agent" typeof="LibrarySystem http://library.link/vocab/LibrarySystem" resource="http://link.library.mst.edu/"><span property="name http://bibfra.me/vocab/lite/label"><a property="url" href="http://link.library.mst.edu/">Missouri University of Science & Technology Library</a></span></span></span></span></div>
Note: Adjust the width and height settings defined in the RDF/HTML code fragment to best match your requirements
Preview
Cite Data - Experimental
Data Citation of the Item Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya
Copy and paste the following RDF/HTML data fragment to cite this resource
<div class="citation" vocab="http://schema.org/"><i class="fa fa-external-link-square fa-fw"></i> Data from <span resource="http://link.library.mst.edu/portal/Mockito-essentials--a-practical-guide-to-get-you/C2bcGUZBU0E/" typeof="Book http://bibfra.me/vocab/lite/Item"><span property="name http://bibfra.me/vocab/lite/label"><a href="http://link.library.mst.edu/portal/Mockito-essentials--a-practical-guide-to-get-you/C2bcGUZBU0E/">Mockito essentials : a practical guide to get you up and running with unit testing using Mockito, Sujoy Acharya</a></span> - <span property="potentialAction" typeOf="OrganizeAction"><span property="agent" typeof="LibrarySystem http://library.link/vocab/LibrarySystem" resource="http://link.library.mst.edu/"><span property="name http://bibfra.me/vocab/lite/label"><a property="url" href="http://link.library.mst.edu/">Missouri University of Science & Technology Library</a></span></span></span></span></div>