Test concepts
Black box testing from the perspective of whether you care about the internal structure and the implementation of the software: only the process and results of program execution are concerned
White Box testing: Write test methods or test cases based on source code
Gray box test: Between the White box test and the black box test
The process of software development is divided by stages with a. Unit test
B. Integration Testing
C. Confirm the test
D. System Testing
E. Acceptance Testing
F. Regression testing
G.alpha Test
New test project test new test Project
New Test class
Create test class in this class new test class inherit Androidtestcase class configuration test device and Class library configuration test device
Configuring the Class Library
Androidmanifest.xml parsing
TARGETPACKAGE Specifies the same package as the app
Run the test class
Test success and test failure Test success:
Test failed: