English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 5h 22m | 1.17 GB
The smarter way to build fast and dynamic android apps.
In Test Driven Android Development, we discuss how good Object Oriented Design and Test Driven Design are complementary. We create a simple JUnit test, using a stub object that represents a data feed. Next, we demonstrate how to write a test driven design unit test for a Java class that performs network operations. After that, we create a unit test for a data access object that uses a JSON data feed. Our test includes JUnit 4 asserts and Hamcrest-style asserst. Then, we discuss blockers that prevent us from writing unit tests, and how we can use Mockito, code coverage, and automatic test execution to ameliorate those blockers. Finally, we look at UI testing with Espresso, and multi-platform testing with Firebase.
This is a step by step video with a tutorial style approach. The sections will focus on individual app modules and how implementing different TDD method will help you to create reliable and smarter apps in less time.
- What You Will Learn
- Why test driven design is important.
- How test drives good design.
- JUnit testing basics.
- Advanced JUnit testing.
- Write reusable test components with behavior driven design.
- Plugins that enhance the testing experience.
- Android-specific test frameworks, including UI tests.
01 The Course Overview
02 Why Test-Driven Design
03 The Testing Pyramid
04 Behavior-Driven Development
05 Android Project Structure
06 Best Practices – Interfaces, DTOs, and Layers
07 Why Interfaces
08 DTO Best Practices
09 Layer Description – UI, Business Logic, and Data Access
10 Minimizing If Tests
11 JUnit Syntax
12 JUnit Annotations
13 Example with Setup and Teardown
14 Design for Test
15 Create a Test-driven Design Test
16 Given, when, and then syntax
17 Example – Given, When, and Then
18 Extended Given, When, and Then Test
19 More Asserts
20 More Assert Examples
21 Hamcrest Asserts
22 Remove Dependencies with Mockito
23 Mockito Example
24 Technical Debt
25 Unit Test Code Coverage in Android Studio
26 Build environment
27 Android Instrumentation Test
28 Android Instrumentation Test Example
29 Espresso Overview
30 Example Espresso Test
31 Firebase Test Lab