29%
Test-Driven iOS Development: (Developer's Library)

Test-Driven iOS Development: (Developer's Library)

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices. Test-Driven iOS Development is the first book 100% focused on helping you successfully implement TDD and unit testing in an iOS environment.   Long-time iOS/Mac developer Graham Lee helps you rapidly integrate TDD into your existing processes using Apple’s Xcode 4 and the OCUnit unit testing framework. He guides you through constructing an entire Objective-C iOS app in a test-driven manner, from initial specification to functional product. Lee also introduces powerful patterns for applying TDD in iOS development, and previews powerful automated testing capabilities that will soon arrive on the iOS platform. Coverage includes Understanding the purpose, benefits, and costs of unit testing in iOS environments Mastering the principles of TDD, and applying them in areas from app design to refactoring Writing usable, readable, and repeatable iOS unit tests Using OCUnit to set up your Xcode project for TDD Using domain analysis to identify the classes and interactions your app needs, and designing it accordingly Considering third-party tools for iOS unit testing Building networking code in a test-driven manner Automating testing of view controller code that interacts with users Designing to interfaces, not implementations Testing concurrent code that typically runs in the background Applying TDD to existing apps Preparing for Behavior Driven Development (BDD)   The only iOS-specific guide to TDD and unit testing, Test-Driven iOS Development covers both essential concepts and practical implementation.  

Table of Contents:
Dedication    v Preface    xii Acknowledgments    xiv About the Author    xiv 1  About Software Testing and Unit Testing    1 What Is Software Testing For?    1 Who Should Test Software?    2 When Should Software Be Tested?    6 Examples of Testing Practices    7 Where Does Unit Testing Fit In?    7 What Does This Mean for iOS Developers?    11 2  Techniques for Test-Driven Development    13 Test First    13 Red, Green, Refactor    15 Designing a Test-Driven App    18 More on Refactoring    19 Ya Ain’t Gonna Need It    19 Testing Before, During, and After Coding    21 3  How to Write a Unit Test    23 The Requirement    23 Running Code with Known Input    24 Seeing Expected Results    26 Verifying the Results    26 Making the Tests More Readable    28 Organizing Multiple Tests    29 Refactoring    32 Summary    34 4  Tools for Testing    35 OCUnit with Xcode    35 Alternatives to OCUnit    46 Google Toolkit for Mac    46 GHUnit    47 CATCH    48 OCMock    50 Continuous Integration    52 Hudson    53 CruiseControl    57 Summary    58 5  Test-Driven Development of an iOS App    59 Product Goal    59 Use Cases    60 Plan of Attack    63 Getting Started    64 6  The Data Model    67 Topics    67 Questions    73 People    75 Connecting Questions to Other Classes    76 Answers    81 7  Application Logic    87 Plan of Attack    87 Creating a Question    88 Building Questions from JSON    102 8  Networking Code    113 NSURLConnection Class Design    113 StackOverflowCommunicator Implementation    114 Conclusion    125 9  View Controllers    127 Class Organization    127 The View Controller Class    128 TopicTableDataSource and TopicTableDelegate    133 Telling the View Controller to Create a New View Controller    149 The Question List Data Source    158 Where Next    170 10  Putting It All Together    171 Completing the Application’s Workflow    171 Displaying User Avatars    185 Finishing Off and Tidying Up    189 Ship It!    199 11  Designing for Test-Driven Development    201 Design to Interfaces, Not Implementations    201 Tell, Don’t Ask    203 Small, Focused Classes and Methods    204 Encapsulation    205 Use Is Better Than Reuse    205 Testing Concurrent Code    206 Don’t Be Cleverer Than Necessary    207 Prefer a Wide, Shallow Inheritance Hierarchy    208 Conclusion    208 12  Applying Test-Driven Development to an Existing Project    209 The Most Important Test You’ll Write Is the First    209 Refactoring to Support Testing    210 Testing to Support Refactoring    212 Do I Really Need to Write All These Tests?    213 13  Beyond Today’s Test-Driven Development    215 Expressing Ranges of Input and Output    215 Behavior-Driven Development    216 Automatic Test Case Generation    217 Automatically Creating Code to Pass Tests    219 Conclusion    220 Index    221


Best Sellers


Product Details
  • ISBN-13: 9780321774187
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Depth: 13
  • Language: English
  • Returnable: N
  • Spine Width: 14 mm
  • Width: 180 mm
  • ISBN-10: 0321774183
  • Publisher Date: 17 May 2012
  • Binding: Paperback
  • Height: 230 mm
  • No of Pages: 256
  • Series Title: Developer's Library
  • Weight: 400 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Test-Driven iOS Development: (Developer's Library)
Pearson Education (US) -
Test-Driven iOS Development: (Developer's Library)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Test-Driven iOS Development: (Developer's Library)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA