简体   繁体   中英

Auto saving run configuration android studio

I am making espresso tests for an android app and I wonder if there's a way to automatically save the run configurations for each test on Android Studio? ie, is there a way in which each time I run a new test, the configurations will save without me having to manually do so?

When you view the run configuration dialog in Android Studio, there should be a "share" checkbox at the top right of the dialog. If you check this box, it will save the configuration into the .idea folder of the project. See "runConfigurations" folder and the runConfigurations.xml file under .idea. If save or check these files into source control, you will be able to share and reuse these configurations when you import the project again.

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