Test suite classes have been removed. All the unit test now are in unit package. CONTRIBUTING.md has been updated to describe how to run both the unit and integration tests.
Tests are now annotated and based on the annotation it is decided whether the test is unit or integration test.
Note that the modifications have only been done for core module. Other modules (auth, push, etc) only contain unit tests so this PR is not necessary for them. If you agree with the modifications I am happy to update other modules as well though.
Motivation
Issue https://github.com/aerogear/aerogear-android-sdk/issues/170 (see also discussion there)
Test suite classes have been removed. All the unit test now are in
unit
package. CONTRIBUTING.md has been updated to describe how to run both the unit and integration tests.Tests are now annotated and based on the annotation it is decided whether the test is unit or integration test.
Note that the modifications have only been done for core module. Other modules (auth, push, etc) only contain unit tests so this PR is not necessary for them. If you agree with the modifications I am happy to update other modules as well though.
Aditional notes
I believe the https://github.com/aerogear/aerogear-android-sdk/commit/c67c0503a5d75ba754ef1475f84c42c69e2ad49b can be reverted now since
test
task now only run unit tests. I can send another PR if there is an agreement on that.How to test
Just follow the CONTRIBUTING.md