Wang Jialin trains Android HTML5 cloud computing practices hadoop-android testing courses designed by Wang Jialin

Source: Internet
Author: User
Wang Jia Lin: committed to hardware and software cloud integration, familiar with Android, HTML5, hadoop Tel: 18610086859 Email: jialingege@126.com hiheartfirst@gmail.com

 

 

 

The reason why I had to take this course:

1,Agility: full-course in-depth practical agile developmentTDD;

2,Agility: full-course in-depth practical agile developmentBDD;

3,Continuous integrated development practices;

4,CoverAndroidFour Core ComponentsActivity,Service,Contentprovider,BroadcastreceiverTest;

5,Comprehensive coverageAndroidAll testing skills and strategies;

6,Thorough: CoverAndroidInJUnitAll content, source code analysis, and design pattern of the test;

7,In-depth performance testing and performance optimization technologies;

Course objectives:

1. This course covers all technologies tested in Android;

2. Build a top Android testing expert

Training objectives:

Make androidCodeHigh quality, high value, and high profit;

Trainees:

Android Developers

Friends interested in Android Testing

Suggestion:

It would be better if students learned the "silver version of the android test course ".

 

Time

Content

Remarks

Day 1

1st theme: Why do you need Android testing?

1.1 Android development is too messy;

1.2 Android applicationsProgramThe code quality is too bad;

1.3 any great IT company must be at least an outstanding testing company;

1.4 What is used to save android? Only test.

 

2nd theme: commercial value of testing

2.1 Bill Gates said: in fact, Microsoft is a testing company;

2.2 high quality, high value, and high profit;

 

3rd topics: bugs and tests in Software

How did 3.1 generate a bug?

3.2 How does a bug fatal impact on software projects?

3.3 engineer's life: the life of fighting against bugs.

3.4 what to save: only test.

 

4th topics: Why, what, how, and when to test

4.1 why test is required;

4.2 test what;

Activity lifecycle events

Database and file system operations

Test the physical parameters of a device

4.3 how to test?

4.4 When to test?

 

5th subjects: Test Type

Unit Test 5.1

Tested fixture

Setup () method

Teardown () method

Prerequisites for testing

Test method: This Province

5.2 integration test

Usability and Acceptance Test

Test Case Scenario

5.3 Performance Testing

5.4 System Test

 

6th theme: Android testing framework

6.1 Instrumentation

6.2 test targets

 

7th topics: Use JUnit to test Android Business Code

7.1 Analysis of JUnit;

7.2 analyze our first unit test program;

7.3 thoughts on the unit test framework JUnit in Android;

7.4 JUnit test lifecycle in Android;

7.5 testing arrays, stacks, and file systems

7.6 how to test the private Method

 

8th topics: automated testing through JUnit

8.1 test suite testsuite

8.2 automated testing practices

 

9th themes: JUnit Source Code Analysis and Design Model

9.1 analyze JUnit with the testcase abstract class as the coreSource code

9.2 analyze the source code of JUnit with the testsuite class as the core

9.3 JUnit and template method mode

9.4 JUnit and adapter Modes

9.5 JUnit and combination modes

 

10th theme: Experience tests on pure android

10.1 create main project for Android

10.2 create a test project for Android

10.3 create a test case

Create Test Cases

Create a test case using Annotation

10.4 run the test

Run all tests in eclipse

Run a single test case in eclipse

Run test cases on emulator

Run the test on the command line.

Run all tests

Run a single test case

Run a single test case by name

Use category to run a single test case

Run performance test

Dry Test

10.5 debugging and Testing

10.6 other command line options

 

Time

Content

Remarks

Day 2

11th topics: In-depth Android testing, covering activity, service, and contentprovider Testing

11.1 assertion

Custom message

Static Import

11.2 in-depth assertion

11.3 touchutils class

11.4 mock object

Mockcontext Overview

Isolatedcontext class

Test operations on files and databases

Mockcontentresolver class

11.5 base class testcase

Constructor without Parameters

Constructor for passing Parameters

Setname () method

11.6 base class androidtestcase

Assertactivityrequirespermission () method analysis and practice

Assertreadingcontenturirequirespermission ()

 

Method Analysis and Practice

Assertwritingcontenturirequirespermission ()

 

Method Analysis and Practice

11.7 Instrumentation

Activitymonitor internal Class Analysis and Practice

11.8 instrumentationtestcase class

Launchactivity and launchactivitywithintent

 

Method

Sendkeys and sendrepeatedkeys Methods

Runtestonuithread help

11.9 activitytestcase class

Scrubclass Method

11.10 activityinstrumentationtestcase2 class

Constructor

Setup Method

Teardown Method

Testpreconditions Method

11.11 providertestcase2 <t> class

Constructor

Practice

11.12 servicetestcase <t>

Constructor

11.13 testsuitebuilder. failedtocreatetests Class Analysis

11.14 use external libraries in the test project

12th topics: TDD (test-Driven Development)

12.1 understand TDD

Write a test case

Run all tests

Code Reconstruction

What are the advantages of refactoring?

Understanding requirements

12.2 create a Temperature Converter Project

Requirement List

Interface-oriented design principles

Create a project

12.3 temperatureconverteractivitytests Project (1)

Create fixture

Prediction

Create user interface

Test existing user interface components

Obtain the defined ID

Reflect test requirements to test

Empty field

View attributes

Screen Layout

12.4 temperatureconverteractivitytests Project (2)

Temperature Conversion

Editnumber class

Temperatureconverter test case

Editnumber Test

Temperaturechangewatcher class

Added temperatureconverter Testing

Inputfilter Test

12.5 run the temperatureconverteractivitytests program to view the effect

 

 

Time

Content

Remarks

Day 3

13th theme: Android testing environment

13.1 create an android Virtual Device

13.2 run AVD from the command line

Simulator with no title

Disable keyboard monitoring

Clear

Terminate a simulator

13.3 additional simulator Parameters

Simulate network conditions

Additional qumu options

13.4 run monkey

Monkey client and server

 

13.5 run the test script using monkeyrunner

Obtain the testing screen

Recording and playing Screen

14th themes: BDD (behavior-Driven Development)

14.1 BDD thinking

14.2 fitnesse

Run fitnesse from the command line

Temperatureconvertertests create subwiki

Create a subpage for subwiki

Add acceptable test fixture

Add test support Class

14.3 givwenzen

Create a test scenario

15th theme: Android testing skills

15.1 android unit test

15.2 test activity and Application

Applications and preferences

Renamingmockcontext class

Temperatureconverterapplicationtests class

Test Activity

15.2 test files, databases, and contentprovider

Browserprovider Test

15.3 test exception

15.4 test local and remote services

15.5 further application of mock objects

Import Libraries

Testtextchanged

Hamcrest Introduction

Hamcrest

Hastostring matching

15.6 test View

15.7 test parser

Android assets

Parser Activity

Parser Test

15.8 memory leaks Test

 

Time

Content

Remarks

Day 4

16th topics: continuous integration

16.1 use ant to build a program

16.2 use Quick version control tool-Git

Create a local git Repository

16.3 continuous integration with Hudson

Install and configure Hudson

Create a task

Obtain Android Testing Results

17th topics: Performance Testing and Analysis

17.1 use traditional log Methods

17.2 Performance Test in Android SDK

Start Performance Testing

Create launchperformancebase

Create temperatureconverteractivitylauchperformance class

Run the test

18.3 use traceview and dmtracedump

18.4 microbenchmarks

19th theme: Upgrade test policy

19.1 compile android from source code

Code coverage

Emma features

System Requirements

Download Android source code

Install Repo

Create a working copy

Steps for buiding

19.2 code coverage of temperatureconverter

Generate code coverage Analysis Report

Coverage status recovery

Covered exceptions

Bypass access restrictions

Cover selection menu

19.3 ant coverage goals

19.4 introduction to robotium

Download robotium

Configuration Project

Create Test Cases

Testfahrenheittocelsiusconversion ()

Testoncreateoptionsmenu ()

19.5 test the local JVM

Create a temperatureconverterjvmtest Project

Comparative performance advantages

19.6 introduction to roboletric

Install robolectric

Create a new Java Project

Write Test

 

 

 

 

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.