[android] Espresso Tutorial [android] Espresso Tutorial http://www.vogella.com/tutorials/AndroidTestingEspresso/article.html 1. The Espresso test framework -Android testing framework 이며, UI test 를 쉽게 해준다.Google 이 2013년 10월에 첫 release 를 했고, 글 쓰는 시점에 2.0 이상이 release 되었으며 계속 유지보수 되고 있다. -Test 를 수행하기 전에 Activity 가 실행되었음을 보장한다. -single app test 가 주되지만, app 간의 테스트도 가능하다.너의 app 바깥쪽의 일을 테스트하는 것은 black box testing 만 가능하다. -Espresso.. 2019. 2. 4. [android] Gradle Tutorial #2 Dependency, Android Libraries and Multi-project setup -external library jar 를 사용하려면 compile configuration 을 사용하면 된다. dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) // api 와 implementation 으로 바뀌었다.} android { ...} -compile 은 main app 을 compile 한다.compile 되는 모든 것은 compile classpath 로 잡히고, final APK 에 포함이 된다. 다음과 같은 compile configuration 을 추가할 수 있고,buildType 을 추가하면 자동으로 compile 이 .. 2018. 10. 5. 반응형 이전 1 다음