Mar 9, 2016 android data file junit local test Access Data Files for Local Tests in Android TL;DR: Put your data files in test/resources and access it with: InputStream inputStream = this.getClass() .getClassLoader() .getResourceAsStream(path); I've got an