简体   繁体   中英

Android Junit Test Cases

How can I stop the android Junit test application in the mid.I want to stop the execution of my application in particular place.Is it possible?Please give your suggestion..

Set the breakpoint in desired place in IDE and run test project in debug mode.

Note that debug execution is a bit slower than run mode.

hope this answer satisfies your question

click on the stop button in the junit column. But again if you return, the testcases will be running from the beginning.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM