Skip to content

ligi/AndroidNewUnitTestTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project to test the new Unit-Testing support coming with 1.1 Generally it is working pretty nice - but there are some open problems with the new build plugin that is needed for this e.g.:

There is now also initial documentation on this:

You can also use this in combination with robolectric. You need the changes from robolectric/robolectric-gradle-plugin#129 - they are merged to master, but not released as artifact yet. So you will have to do:

$> git clone git@github.com:robolectric/robolectric-gradle-plugin.git
$> cd robolectric-gradle-plugin 
$> gradle install

this is used on the branch: with_robolectric Unfortunately tests will fail with ResourceNotFoundException on the console - but it works in the IDE

Known Problems with Robolectric:

  • resources from library projects cannot be resolved ( android.content.res.Resources$NotFoundException )

About

repo to test the new unit-testing support coming with 1.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages