Mobile app interrupt Test call interruption
The growing power of smart devices and the diversity of user scenarios makes it very frequent for an app to interrupt operations on mobile devices. the performance of the interrupted scene directly affects the user experience, and the interruption test is the required content of the app function test.
When it comes to mobile phone interruption testing, call interruptions are the easiest to think about, and regular tests include calls and call interruptions, such as.
close to the smartphone user application scenario, we found that the phone has not been limited to the use of network operators, commonly used social software such as QQ, micro- both voice and video phones are supported by the letter. These software uses the network to make the call or the video, and the carrier telephone network form is different, therefore very necessary to do the interruption test. The test scenario for call interruption is added as.
Break Test Essentials
middle finger software in the work by other tasks or unexpected events, such as the termination of the launch, the corresponding test is the interruption test, interrupt testing someone for the interruption, new task interruption and unexpected interruption , and several other situationsThe interrupt details include the following:
I. Call interruption: The call hangs up, the call hangs up, the call hangs up, the call is hung off
Second: SMS Interrupt: Receive SMS, view SMS
Third: Other interrupts: Bluetooth, alarm clock, Plug and unplug data cable, mobile phone lock, phone power off, phone problems (system crashes, restart)
Interrupt Scenario:
involve external events (incoming calls, text messages, plug-in data lines, etc.) in the following scenarios
1. Interactive information data when the login interface is load
2. Read the buddy list interface load interactive information data (best friend list refresh, buddy list refresh)
3. Buddy List Interface load interactive information data (when adding, deleting friends)
4. Querying personal Data Interface load interactive information data
5. Querying the Leaderboard interface load interaction Information Data
6. Query the game record screen load interaction information Data
7. Querying the Financial interface load interaction information Data
8. Game Points Upload Interface load interactive information data
Game Interruption:
During the game running, the game to stop action, such as text messages, calls, etc., so that the game is suspended. This verifies the stability of the game. Interrupt Operation:in the game from the beginning, until the game completely exited, is the game process, in this process, any screen in the game, should be able to interrupt, flat and normal return, and will not have any problems. After the game is interrupted, should display a pause screen, this screen is generally black, the message is: "Press CENTER/5 key to continue" or "by the center key/5 key to continue." Press the center key after the game continues to run
to cite a case of an interrupt test: a recent project, which has been heavily used for time interruptions, has also often seen variousBug, in order to find the reason, deliberately made a few smallTest
1 using unityengine; 2 using system.collections; 3 4 public class test:monobehaviour { 5 6 // initialization 7 ienumerator start () { 8 9 invokerepeating ("Test1", 0f,1f); 10 //yield return new Waitforseconds (1f); 11 & nbsp; Cancelinvoke ("Test1"); 12 yield return null; 13 } 14 15 //Update is called once per FRAME&N bsp; 16 void update () {&NBSP;&NBSP;17&NBSp 18 } 19 20 void test1 () 21 { 22 Debug.Log ( Time.time); 23 Debug.Log ("haha"); 24 } 25 } Nothing is outputIf you putname= "code" class= "CSharp" >yieldreturn new Waitforseconds (1f);Plusthe output is:<ignore_js_op> The following code isCanelNo, it's a fucking pit-daddy. 1 using UnityEngine; 2 using System.Collections; 3 4 5 public class test:monobehaviour { 6 7 8 //Use this for initialization 9 void start () { 10 11 Startcoroutine ("Createstart"); 12 } 13 14 //Update is called once per FRAME&N bsp; 15 void update () { 16 17 } 18 19 ienumerator createstart () 20 { 21 int i=0; 22 while (True) 23 { 24 & nbsp Invokerepeating ("Test1", 0f,1f); 25 Yield return new waitforseconds (5f); 26 Cancelinvoke (" Test1 "); 27 print (" OK i ge "); nbsp; 28 yield return null; 29 30 } 31 } 32 33 void Test1 () 34 { 35 Debug.Log (time.time); 36 Debug.Log ("haha "); 37 } 38 } <ignore_js_op>
1 using unityengine; 2 using system.collections; 3 4 public class test:monobehaviour { 5 6 public bool isok=true; 7 //Use this for initialization 8 void start () { 9 10 startcoroutine ("Createstart"); 11 } 12 13 //Update is called once per frame 14 void update () { & nbsp;15 16 } 17 18 &nbSp;ienumerator Createstart () 19 { 20 int i=0; 21 while (isOK) 22 { 23 invokerepeating ("Test1", 0f,1f); 24 Yield return new waitforseconds (5f); 25 isok=false; 26 Cancelinvoke ("Test1"); 27 Print ("OK i ge"); 28 yield return null; 29 30 } 31 } 32 33 void test1 ( ) 34 { 35 Debug.Log (time.time); 36 Debug.Log ("haha"); 37 } }
currently can do the interruption test of some companies, I know there are TestFlight, Testfairy, Testbird, GooglePlay and so on.
Mobile app interrupt Test call interruption