Android Test-Driven Development by Tutorials (Second Edition)

Android Test-Driven Development by Tutorials (Second Edition)

Author: raywenderlich Tutorial Team

Publisher: Razeware LLC

Published: 2021-07-20

Total Pages: 422

ISBN-13: 9781950325412

DOWNLOAD EBOOK

Learn Android Test-Driven Development! Writing apps is hard. Writing testable apps is even harder, but it doesn't have to be. Reading and understanding all the official Google documentation on testing can be time-consuming - and confusing. This is where Android Test-Driven Development comes to the rescue! In this book, you'll learn about Android Test-Driven Development the quick and easy way: by following fun and easy-to-read tutorials. Who This Book Is For This book is for the intermediate Android developers who already know the basics of Android and Kotlin development but want to learn Android Test-Driven Development. Topics Covered in Android Test-Driven Development - Getting Started with Testing: Learn the core concepts involved in testing including what is a test, why should you test, what should you test and what you should not test. - Test-Driven Development (TDD): Discover the Red-Green-Refactor steps and how to apply them. - The Testing Pyramid: Learn about the different types of tests and how to organize them. - Unit Tests: Learn how to start writing unit tests with TDD using JUnit and Mockito. - Integration Tests: Writing tests with different subsystems is a must in today's complex application world. Learn how to test with different subsystems including the persistence and network layers. - Architecting for Testing: Explore how to architect your app for testing and why it matters. - TDD on Legacy Projects: Take your TDD to the next level by learning how to apply it to existing legacy projects. And much more, including Espresso tests, UI tests, code coverage and refactoring. One thing you can count on: after reading this book, you'll be prepared to take advantage of Android Test-Driven Development in your own apps!


Test-Driven JavaScript Development

Test-Driven JavaScript Development

Author: Christian Johansen

Publisher: Addison-Wesley Professional

Published: 2010-09-09

Total Pages: 626

ISBN-13: 0321684052

DOWNLOAD EBOOK

For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Leading agile JavaScript developer Christian Johansen covers all aspects of applying state-of-the-art automated testing in JavaScript environments, walking readers through the entire development lifecycle, from project launch to application deployment, and beyond. Using real-life examples driven by unit tests, Johansen shows how to use TDD to gain greater confidence in your code base, so you can fearlessly refactor and build more robust, maintainable, and reliable JavaScript code at lower cost. Throughout, he addresses crucial issues ranging from code design to performance optimization, offering realistic solutions for developers, QA specialists, and testers. Coverage includes • Understanding automated testing and TDD • Building effective automated testing workflows • Testing code for both browsers and servers (using Node.js) • Using TDD to build cleaner APIs, better modularized code, and more robust software • Writing testable code • Using test stubs and mocks to test units in isolation • Continuously improving code through refactoring • Walking through the construction and automated testing of fully functional software The accompanying Web site, tddjs.com, contains all of the book’s code listings and additional resources.


Test-Driven Java Development

Test-Driven Java Development

Author: Viktor Farcic

Publisher: Packt Publishing Ltd

Published: 2015-08-27

Total Pages: 284

ISBN-13: 178398743X

DOWNLOAD EBOOK

Invoke TDD principles for end-to-end application development with Java About This Book Explore the most popular TDD tools and frameworks and become more proficient in building applications Create applications with better code design, fewer bugs, and higher test coverage, enabling you to get them to market quickly Implement test-driven programming methods into your development workflows Who This Book Is For If you're an experienced Java developer and want to implement more effective methods of programming systems and applications, then this book is for you. What You Will Learn Explore the tools and frameworks required for effective TDD development Perform the Red-Green-Refactor process efficiently, the pillar around which all other TDD procedures are based Master effective unit testing in isolation from the rest of your code Design simple and easily maintainable codes by implementing different techniques Use mocking frameworks and techniques to easily write and quickly execute tests Develop an application to implement behaviour-driven development in conjunction with unit testing Enable and disable features using Feature Toggles In Detail Test-driven development (TDD) is a development approach that relies on a test-first procedure that emphasises writing a test before writing the necessary code, and then refactoring the code to optimize it. The value of performing TDD with Java, one of the most established programming languages, is to improve the productivity of programmers, the maintainability and performance of code, and develop a deeper understanding of the language and how to employ it effectively. Starting with the basics of TDD and reasons why its adoption is beneficial, this book will take you from the first steps of TDD with Java until you are confident enough to embrace the practice in your day-to-day routine. You'll be guided through setting up tools, frameworks, and the environment you need, and will dive right in to hands-on exercises with the goal of mastering one practice, tool, or framework at a time. You'll learn about the Red-Green-Refactor procedure, how to write unit tests, and how to use them as executable documentation. With this book you'll also discover how to design simple and easily maintainable code, work with mocks, utilise behaviour-driven development, refactor old legacy code, and release a half-finished feature to production with feature toggles. You will finish this book with a deep understanding of the test-driven development methodology and the confidence to apply it to application programming with Java. Style and approach An easy-to-follow, hands-on guide to building applications through effective coding practices. This book covers practical examples by introducing different problems, each one designed as a learning exercise to help you understand each aspect of TDD.


Learning Android Application Testing

Learning Android Application Testing

Author: Paul Blundell

Publisher: Packt Publishing Ltd

Published: 2015-03-26

Total Pages: 274

ISBN-13: 1784397997

DOWNLOAD EBOOK

If you are an Android developer looking to test your applications or optimize your application development process, then this book is for you. No previous experience in application testing is required.


Test-driven Development for Android

Test-driven Development for Android

Author: Cassie Shum

Publisher:

Published: 2017

Total Pages:

ISBN-13:

DOWNLOAD EBOOK

"In Test-Driven Development (TDD) for Android, ThoughtWorks lead consultant Cassie Shum takes a deep dive into the critical role of TDD in mobile development. This video quickly reviews Continuous Delivery best practices and the role of CD in mobile development. The video then focuses on the role of TDD, showcasing how to use tools for unit testing and UI testing by demonstrating with Android testing frameworks Robolectric and Espresso."--Resource description page.


Learning Path

Learning Path

Author:

Publisher:

Published: 2016

Total Pages:

ISBN-13:

DOWNLOAD EBOOK

"Android Nougat is the 7th major version of the Android operating system. Test-driven development enables good design. It only makes sense to adopt it for Android N app development. This Learning Path covers the fundamentals of app development in Android N including the Android Studio and Android SDK, networking concepts with the API, Firebase analytics and crash analysis, and publishing your application on the Play Store . We will then look in detail how test-driven development can be implemented for building apps in Android. Leverage the power of test-driven development for building high-quality Android apps with this Learning Path."--Resource description page.


Test Driven Development

Test Driven Development

Author: Kent Beck

Publisher: Addison-Wesley Professional

Published: 2022-03-25

Total Pages: 241

ISBN-13: 0137585233

DOWNLOAD EBOOK

Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! In short, the premise behind TDD is that code should be continually tested and refactored. Kent Beck teaches programmers by example, so they can painlessly and dramatically increase the quality of their work.


Test-Driven iOS Development with Swift

Test-Driven iOS Development with Swift

Author: Dr. Dominik Hauser

Publisher: Packt Publishing Ltd

Published: 2016-02-22

Total Pages: 218

ISBN-13: 1785880047

DOWNLOAD EBOOK

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/span Get to know the fundamentals, life cycle, and benefits of TDD/span Explore the tools and frameworks to effectively use TDD/span Develop models and controllers driven by tests/span Construct the network layer using stubs/span Use functional tests to ensure the app works as planned/span 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.