Ascolta tutto, gratis per 30 giorni

Approfitta dell'offerta e entra in un mondo di storie

  • Ascolta e leggi quanto vuoi
  • Oltre 400.000 titoli
  • Prova gratis per 30 giorni, poi 9.99€/mese
  • Disdici quando vuoi
  • Ascolta titoli esclusivi e Storytel Original
Prova Gratis
Device Banner Block 894x1036

Test-Driven iOS Development with Swift 4 - Third Edition: Write Swift code that is maintainable, flexible, and easily extensible

Lingua
Inglese
Format
Categoria

Non-fiction

Use test-driven approach to develop highly-functional iOS apps with Swift 4 and Xcode 9

About This Book • A practical guide to writing effective, organized, and clean code that works well

• Learn test-driven principles to help you build better-designed apps with fewer bugs

• A comprehensive overview of the techniques available for TDD in Swift

Who This Book Is For

To get the most out of this book, you will need some prior experience with Swift application development. You may have already heard about Test-Driven Development (TDD) but you don't need any prior experience of applying it to Swift applications.

What You Will Learn • Implement TDD in Swift application development

• Find bugs before you enter code using the TDD approach

• Use TDD to build models, view controllers, and views

• Test network code with asynchronous tests and stubs

• Write code that is a joy to read and maintain

• Develop functional tests to ensure the app works as planned

In Detail

Test-driven development (TDD) is a proven way to find software bugs early. Writing tests before you code improves the structure and maintainability of your apps. Using TDD, in combination with Swift 4's improved syntax, means there is no longer any excuse for writing bad code.

This book will help you understand the process of TDD and how to apply it to your apps written in Swift.

Through practical, real-world examples, you'll learn how to implement TDD in context. You will begin with an overview of the TDD workflow and then delve into unit-testing concepts and code cycles.

You will also plan and structure your test-driven iOS app, and write tests to drive the development of view controllers and helper classes. Next, you'll learn how to write tests for network code and explore how the test-driven approach—in combination with stubs—helps you write network code even before the backend component is finished.

Finally, the book will guide you through the next steps to becoming a testing expert by discussing integration tests, Behavior Driven Development (BDD), open source testing frameworks, and UI Tests (introduced in Xcode 9).

Style and approach

Using a step-by-step approach, you will develop an entire iOS app using TDD. During the course of the book, you will explore different strategies for writing tests for models, View Controllers, and networking code.

© 2017 Packt Publishing (Ebook): 9781788393553

Data di uscita

Ebook: 30 ottobre 2017

Tag

    Potrebbero piacerti

    1. The Clean Coder: A Code of Conduct for Professional Programmers Robert C. Martin
    2. Fundamentals of Software Architecture: An Engineering Approach Neal Ford
    3. Computational Thinking Peter J. Denning
    4. Clean Code: A Handbook of Agile Software Craftsmanship Robert C. Martin
    5. Programming Interviews For Dummies Eric Butow
    6. Ultimate SwiftUI Handbook for iOS Developers Duong Dinh Bao Thang
    7. History of Apple iOS Introbooks Team
    8. Competing in the Age of AI: Strategy and Leadership When Algorithms and Networks Run the World Karim R. Lakhani
    9. Coders: Who They Are, What They Think and How They Are Changing Our World Clive Thompson
    10. Docker Essentials: Simplifying containerization : A Beginner's Guide Mike Wilson
    11. 97 Principles for Software Architects: Axioms for software architecture and development written by industry practitioners Multiple Authors
    12. The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Walter Isaacson
    13. How Smart Machines Think Sean Gerrish
    14. Java Fundamentals Introbooks Team
    15. The Staff Engineer's Path: A Guide for Individual Contributors Navigating Growth and Change Tanya Reilly
    16. Networking For Dummies (11th Edition): 11th Edition Doug Lowe
    17. Coders at Work: Reflections on the Craft of Programming Peter Seibel
    18. Breaking and Entering-The Extraordinary Story of a Hacker Called "Alien": The Extraordinary Story of a Hacker Called "Alien" Jeremy N. Smith
    19. Clean Architecture: A Craftsman's Guide to Software Structure and Design Robert C. Martin
    20. The Fourth Age: Smart Robots, Conscious Computers, and the Future of Humanity Byron Reese
    21. No Time Like the Present: Finding Freedom, Love, and Joy Right Where You Are Jack Kornfield
    22. Journey into Darkness John E. Douglas
    23. A Brief History of Equality Thomas Piketty
    24. The Paper Menagerie and Other Stories Ken Liu
    25. Flourish: A Visionary New Understanding of Happiness and Well-being Martin E. P. Seligman
    26. The Hidden Habits of Genius: Beyond Talent, IQ, and Grit - Unlocking the Secrets of Greatness: Beyond Talent, IQ, and Grit—Unlocking the Secrets of Greatness Craig Wright
    27. Pegasus: The Story of the World's Most Dangerous Spyware Laurent Richard
    28. Cybersecurity: Learn Fast how to Become an InfoSec Pro 3 Books in 1 John Knowles
    29. Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures Neal Ford
    30. Cybersecutity First Principles Rick Howard
    31. Data Science For Dummies: 2nd Edition Lillian Pierson
    32. Hyperfocus: How to Work Less and Achieve More Chris Bailey
    33. Whiskey in a Teacup Reese Witherspoon
    34. The Heretics: Adventures with the Enemies of Science Will Storr
    35. Permanent Record: A Memoir of a Reluctant Whistleblower Edward Snowden
    36. Fear and Trembling Søren Kierkegaard
    37. Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets Nassim Nicholas Taleb
    38. The Pentester BluePrint: Starting a Career as an Ethical Hacker Phillip L. Wylie
    39. Learn German: German Survival Phrases, Volume 1: Lessons 1-30 Innovative Language Learning
    40. The Software Developer's Career Handbook: A Guide to Navigating the Unpredictable Michael Lopp
    41. Age of Invisible Machines: A Practical Guide to Creating a Hyperautomated Ecosystem of Intelligent Digital Workers Robb Wilson
    42. Adult Children of Emotionally Immature Parents: How to Heal from Distant, Rejecting, or Self-Involved Parents Lindsay C. Gibson, PsyD
    43. On Writing: A Memoir Of The Craft Stephen King
    44. Ethical Hacking for Beginners: HOW TO BUILD YOUR PEN TEST LAB FAST ATTILA KOVACS
    45. Mindhunter: Inside the FBI's Elite Serial Crime Unit John E. Douglas

    Scegli il tuo piano

    • Più di 400.000 titoli

    • Kids Mode (accesso sicuro per bambini)

    • Scarica e ascolta offline

    • Disdici quando vuoi

    Il più popolare

    Unlimited

    La scelta migliore per 1 utente. Ascolta e leggi quanto vuoi.

    9.99 € /mese
    • 1 account

    • Ascolto illimitato

    • Disdici quando vuoi

    Prova ora

    Unlimited Annuale

    12 mesi al prezzo di 9. Ascolta e leggi quanto vuoi.

    89.99 € /anno
    Risparmia il 25%
    • 1 account

    • Ascolto illimitato

    • Disdici quando vuoi

    Prova ora

    Unlimited+

    Storie per tutta la famiglia. Entrate insieme in un mondo di storie.

    14.99 € /mese
    • 2 account

    • Ascolto illimitato

    • Disdici quando vuoi

    Prova ora

    Basic

    Per te che non sei un avido ascoltatore.

    6.49 € /mese
    • 1 account

    • 10 ore/mese

    • Disdici quando vuoi

    Prova ora