|
Showing 1 - 3 of
3 matches in All Departments
Build robust applications using TDD with Swift 5.5 and become a TDD
expert by writing tests for view controller, views, network code,
and even SwiftUI view Key Features Build a complete iOS app using
test-driven development Explore testing view controllers, table
views, navigation, and network code Learn how to write tests for
Combine and SwiftUI code Book DescriptionTest-driven development
(TDD) is a proven way to find software bugs earlier on in software
development. Writing tests before you code improves the structure
and maintainability of your apps, and so using TDD in combination
with Swift 5.5's improved syntax leaves you with no excuse for
writing bad code. Developers working with iOS will be able to put
their knowledge to work with this practical guide to TDD in iOS.
This book will help you grasp the fundamentals and show you how to
run TDD with Xcode. You'll learn how to test network code, navigate
between different parts of the app, run asynchronous tests, and
much more. Using practical, real-world examples, you'll begin with
an overview of the TDD workflow and get to grips with unit testing
concepts and code cycles. You'll then develop an entire iOS app
using TDD while exploring different strategies for writing tests
for models, view controllers, and networking code. Additionally,
you'll explore how to test the user interface and business logic of
iOS apps and even write tests for the network layer of the sample
app. By the end of this TDD book, you'll be able to implement TDD
methodologies comfortably in your day-to-day development for
building scalable and robust applications. What you will learn
Implement TDD in Swift application development Detect bugs before
you run 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's a joy to read and maintain Design
functional tests to suit your software requirements Discover
scenarios where TDD should be applied and avoided Who this book is
forThis book is for iOS developers looking to apply TDD to build
maintainable and scalable applications. Intermediate-level
developers with Swift application development experience will be
able to make the most out of this book. Prior experience of
applying TDD to Swift applications is not required.
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.
Create fully-featured and highly functional iOS apps by writing
tests first About This Book * Learn test-driven principles to help
you build apps with fewer bugs and better designs * Become more
efficient while working with Swift to move on to your next project
faster! * Learn how to incorporate all of the principles of
test-driven development (TDD) in to your daily programming workflow
Who This Book Is For If debugging iOS apps is a nerve-racking task
for you and you are looking for a fix, this book is for you. What
You Will Learn * Implement TDD in swift application development *
Get to know the fundamentals, life cycle, and benefits of TDD *
Explore the tools and frameworks to effectively use TDD * Develop
models and controllers driven by tests * Construct the network
layer using stubs * Use functional tests to ensure the app works as
planned * Automate and streamline the building, analysing, testing,
and archiving of your iOS apps In Detail Test-driven development
(TDD) is a proven way to find software bugs early. Writing tests
before your code improves the structure and maintainability of your
app. Test-Driven iOS Development with Swift will help you
understand the process of TDD and how it impacts your applications
written in Swift. Through practical, real-world examples, you'll
start seeing how to implement TDD in context. We will begin with an
overview of your TDD workflow and then deep-dive into unit testing
concepts and code cycles. We will showcase the workings of
functional tests, which will help you improve the user interface.
Finally, you will learn about automating deployments and continuous
integration to run an environment. Style and approach This is an
easy-to-follow example-driven tutorial, packed with lots of tips
and tricks that explore TDD bit-by-bit in the process of making an
iOS application.
|
You may like...
Loot
Nadine Gordimer
Paperback
(2)
R391
R362
Discovery Miles 3 620
|