bkromhout / Minerva

Minerva is an Android app which helps you to easily organize your eBook library in powerful ways
Apache License 2.0
6 stars 0 forks source link

Unit Tests! #10

Open bkromhout opened 8 years ago

bkromhout commented 8 years ago

https://developer.android.com/training/testing/start/index.html https://google.github.io/android-testing-support-library/docs/espresso/index.html

http://www.tinmegali.com/en/testing-part1-unit-testing/

http://site.mockito.org/ http://site.mockito.org/mockito/docs/current/org/mockito/Mockito.html https://github.com/jayway/powermock/wiki/MockitoUsage

http://junit.org/junit4/ http://robolectric.org/

http://hamcrest.org/JavaHamcrest/ https://code.google.com/archive/p/hamcrest/wikis/Tutorial.wiki

bkromhout commented 8 years ago

We're going to wait to "write" espresso UI tests until AS 2.2 and its test recorder is released and has its bugs worked out a bit

bkromhout commented 8 years ago

We really need to write instrumented unit tests for Realm functionality, a lot of bugs are being found

bkromhout commented 8 years ago

Sadly we're currently blocked by an issue with the realm transformer (realm/realm-java #2936).

bkromhout commented 8 years ago

We'll just add the getters and setters to our classes to work around the issue for the time being

bkromhout commented 8 years ago