• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ufebri / Doggie-Gallery / 17360276951 / 1
61%
master: 61%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2025 05:31PM UTC
Files 50
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Aug 2025 05:30PM UTC coverage: 13.614% (+6.3%) from 7.305%
17360276951.1

push

github

ufebri
Add tests for DoggieRepository

This commit introduces unit tests for the `DoggieRepository` class to ensure its functionality regarding data fetching, caching, and tagging.

Key changes:
- Added `DoggieRepositoryTest.java` with tests covering scenarios like:
    - Fetching data when the local database is empty.
    - Skipping network fetch when data is available locally.
    - Correctly saving tags for "liked" and "popular" images.
    - Using constant values for category image counts.
    - Handling empty and error responses from the remote data source.
- Modified `ApiConfig.java` to enable HTTP logging only in debug builds.
- Updated `app/build.gradle` to make release builds debuggable and configure signing.

23 of 268 branches covered (8.58%)

Branch coverage included in aggregate %.

145 of 966 relevant lines covered (15.01%)

0.73 hits per line

Source Files on job 17360276951.1
  • Tree
  • List 50
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 17360276951
  • e8d9dbb8 on github
  • Prev Job for on master (#17359575015.1)
  • Next Job for on master (#17360405735.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc