In a project, in Android Studio, by default, there are two test folders.
The first is src/androidTest
. This folder already existed in the previous version of Android Studio. Nevertheless, there is now a new test folder, by default, src/test
, and new dependence, testCompile 'junit: junit: 4.12'
in build.gradle
.
Which folder do I use for testing? What are the differences between the two?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…