Coverart for item
The Resource Test-Driven Development with Mockito

Test-Driven Development with Mockito

Label
Test-Driven Development with Mockito
Title
Test-Driven Development with Mockito
Creator
Subject
Language
eng
Summary
This book is a hands-on guide, full of practical examples to illustrate the concepts of Test Driven Development. If you are a developer who wants to develop software following Test Driven Development using Mockito and leveraging various Mockito features, this book is ideal for you. You don't need prior knowledge of TDD, Mockito, or JUnit. It is ideal for developers, who have some experience in Java application development as well as a basic knowledge of unit testing, but it covers the basic fundamentals of TDD and JUnit testing to get you acquainted with these concepts before delving into them
Member of
Cataloging source
IDEBK
http://library.link/vocab/creatorName
Acharya, Sujoy
Dewey number
005.46
Index
no index present
LC call number
QA76.73.J38 .A384 2013
Literary form
non fiction
Nature of contents
dictionaries
http://library.link/vocab/subjectName
  • Application software
  • Computer software
  • Computer software
  • Application software
  • Computer software
  • Computer software
Label
Test-Driven Development with Mockito
Instantiates
Publication
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
  • Copyright; Credits; About the Author; About the Reviewer; Cover; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Familiar with TDD; Definition of test; The big picture; Refactoring; Summary; Chapter 2: Refactoring -- Roll the Dice; Refactoring; Reasons behind refactoring; Refactoring schedule; When not to refactor?; Stopping refactoring; Code smell; Switch statements; Duplicate code; Comments; Long method and parameter list; Large class (aka GOD object); Agent classes; Lazy, dead class and dead code; Over-engineering (speculative generality)
  • Wrong inheritance (refused bequest)Summary; Chapter 3: Applying TDD; Understanding different test types; Understanding TDD -- a real-life example; Definition; Common healthcare vocabulary; Procedure; Service catalogue; MRN; Encounter; Summary; Chapter 4: Understanding the Difference between Inside-Out and Outside-In; Understanding outside-in; Example of ATDD; Understanding advantages and disadvantages of outside-in; Understanding inside-out; Understanding advantages and disadvantages of inside-out; Summary; Chapter 5: Test Doubles; Categories of test doubles; Dummy; Stub; Fake; Mock; Summary
  • Chapter 6: Mockito MagicMockito overview; Why should you use Mockito?; Qualities of unit testing; Drinking Mockito; Verifying redundant invocation; Rationale; Argument matcher; Rationale; Why do we need wildcard matchers?; The ArgumentMatcher class; Throwing Exceptions; Consecutive calls; Stubbing with callbacks -- using the Answer class; Spying objects; Using doReturn(); Working with Void methods; Argument capture; Summary; Chapter 7: Leveraging the Mockito Framework in TDD; Applying Mockito; Customer requirements; Building the application; Summary; Chapter 8: World of Patterns
  • Characteristics of a bad designWhat are the design principles?; Design patterns; Classification of patterns; Replace conditional logic with command; Apply a command pattern; Replace conditional logic with strategy; Strategy pattern; Summary; Chapter 9: TDD, Legacy Code, and Mockito; What is legacy code?; Problem with legacy code; Diving into the legacy puzzle; Refactoring legacy code; The role of Mockito; Summary; Appendix A: TDD Tools and Frameworks; Discovering Eclipse; Useful keys for TDD and refactoring; General settings; JUnit 4.x; Running the first unit test; Exception handling
  • The test suiteIgnoring a test; Asserting a value; Summary; Appendix B: Agile Practices; Exploring continuous integration; Exploring Jenkins; Configuring Jenkins; Adding a build job; Source code management; Build triggers; Scripting; Post-build actions; Security; Revealing Agile methodologies; Working with the Scrum methodology; Roles; Meetings; Story board; Exploring the Kanban development process; Summary; Index
Control code
864381759
Dimensions
unknown
Extent
1 online resource
Form of item
online
Isbn
9781783283309
Media category
computer
Media MARC source
rdamedia
Media type code
  • c
http://library.link/vocab/ext/overdrive/overdriveId
547343
Specific material designation
remote
System control number
(OCoLC)864381759
Label
Test-Driven Development with Mockito
Publication
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
  • Copyright; Credits; About the Author; About the Reviewer; Cover; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Familiar with TDD; Definition of test; The big picture; Refactoring; Summary; Chapter 2: Refactoring -- Roll the Dice; Refactoring; Reasons behind refactoring; Refactoring schedule; When not to refactor?; Stopping refactoring; Code smell; Switch statements; Duplicate code; Comments; Long method and parameter list; Large class (aka GOD object); Agent classes; Lazy, dead class and dead code; Over-engineering (speculative generality)
  • Wrong inheritance (refused bequest)Summary; Chapter 3: Applying TDD; Understanding different test types; Understanding TDD -- a real-life example; Definition; Common healthcare vocabulary; Procedure; Service catalogue; MRN; Encounter; Summary; Chapter 4: Understanding the Difference between Inside-Out and Outside-In; Understanding outside-in; Example of ATDD; Understanding advantages and disadvantages of outside-in; Understanding inside-out; Understanding advantages and disadvantages of inside-out; Summary; Chapter 5: Test Doubles; Categories of test doubles; Dummy; Stub; Fake; Mock; Summary
  • Chapter 6: Mockito MagicMockito overview; Why should you use Mockito?; Qualities of unit testing; Drinking Mockito; Verifying redundant invocation; Rationale; Argument matcher; Rationale; Why do we need wildcard matchers?; The ArgumentMatcher class; Throwing Exceptions; Consecutive calls; Stubbing with callbacks -- using the Answer class; Spying objects; Using doReturn(); Working with Void methods; Argument capture; Summary; Chapter 7: Leveraging the Mockito Framework in TDD; Applying Mockito; Customer requirements; Building the application; Summary; Chapter 8: World of Patterns
  • Characteristics of a bad designWhat are the design principles?; Design patterns; Classification of patterns; Replace conditional logic with command; Apply a command pattern; Replace conditional logic with strategy; Strategy pattern; Summary; Chapter 9: TDD, Legacy Code, and Mockito; What is legacy code?; Problem with legacy code; Diving into the legacy puzzle; Refactoring legacy code; The role of Mockito; Summary; Appendix A: TDD Tools and Frameworks; Discovering Eclipse; Useful keys for TDD and refactoring; General settings; JUnit 4.x; Running the first unit test; Exception handling
  • The test suiteIgnoring a test; Asserting a value; Summary; Appendix B: Agile Practices; Exploring continuous integration; Exploring Jenkins; Configuring Jenkins; Adding a build job; Source code management; Build triggers; Scripting; Post-build actions; Security; Revealing Agile methodologies; Working with the Scrum methodology; Roles; Meetings; Story board; Exploring the Kanban development process; Summary; Index
Control code
864381759
Dimensions
unknown
Extent
1 online resource
Form of item
online
Isbn
9781783283309
Media category
computer
Media MARC source
rdamedia
Media type code
  • c
http://library.link/vocab/ext/overdrive/overdriveId
547343
Specific material designation
remote
System control number
(OCoLC)864381759

Library Locations

    • Curtis Laws Wilson LibraryBorrow it
      400 West 14th Street, Rolla, MO, 65409, US
      37.955220 -91.772210
Processing Feedback ...