NY Times Most Popular show as list of articles and its details when items on the list are tapped.
- MVP pattern used.
- Dagger, Retrofit, RxJava, Timber, Glide are used.
- Android X and Kotlin extension are used.
- JUnit and espresso are used for normal and connected test cases.
Build the project from the command-line
$ git clone git@github.com:gobinda99/NYTimesMostPopular.git
$ cd NYTimesMostPopular
$ ./gradlew clean assembleDebugRun static code analysis such as linting. The result will generate on path "app/build/reports/lint-results.html"
$ ./gradlew clean lintRun unit tests.
$ ./gradlew clean testRun Connected Android Test. Make sure mobile device or emulator connected to machine.
$ ./gradlew clean connectedAndroidTestAll Tasks in a single command line. The reports and apk will generate in "app/build/*" repository.
$ ./gradlew clean test connectedAndroidTest lint assembleDebugRun SonarQube from command line to generate report.
$ ./gradlew sonarqube \
-Dsonar.projectKey=gobinda99_NYTimesMostPopular \
-Dsonar.organization=gobinda99-github \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=53935205a45f1b78679ae5e986eaa76d334bf2d9Here is the link to see SonacQube Report of the project.