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

Idrinth / habit-evaluator / 22040173239
40%

Build:
DEFAULT BRANCH: the-one
Ran 15 Feb 2026 05:43PM UTC
Jobs 6
Files 275
Run time 1min
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

15 Feb 2026 05:42PM UTC coverage: 45.742% (+0.9%) from 44.871%
22040173239

push

github

web-flow
Add comprehensive test coverage for controllers and repositories (#398)

* Improve desktop module test coverage with 50+ new test methods

Add comprehensive test coverage across the desktop module:

- MainController: Tests for applyFilter, populateCategoryComboBoxes,
  clearPointCharts, updatePointCharts (week/month), getClientVersion,
  handleSaveEditedHabits (target, maxEntries, positiveScoring,
  thresholds with validation), updateDiarySuggestions, loadDiaryEntries,
  loadCategories, handleAddDiaryEntry edge cases, shutdown, and more
- AddHabitController: Tests for buildTranslationFields, createCategory
  (local repo), populateCategoryComboBox ID mapping
- StatsController: Tests for multiple habits, multiple sleep entries,
  midnight-crossing sleep, multiple emotion pairs, empty emotion data,
  multiple diary entries
- PdfExportController: Tests for date swap logic, valid date pass-through,
  null repository handling
- H2DiaryEntryRepository: Tests for findEntriesNeedingMigration
  (legacy entries, null descriptions, non-existent user, multiple entries)
- HabitEvaluatorDesktopApp: New test class covering shouldUseDarkMode,
  isSystemDarkMode, stop with null/initialized services, config path

All 349 desktop tests pass.

https://claude.ai/code/session_01HhzprETTZTjXhux2nr1XWz

* Fix assertions in testHandleExportWithValidDatesPassesValidation to always run

Move assertNotEquals checks from inside the catch block to after the
try-catch so they execute regardless of whether an exception is thrown.

https://claude.ai/code/session_01HhzprETTZTjXhux2nr1XWz

---------

Co-authored-by: Claude <noreply@anthropic.com>

2702 of 6597 branches covered (40.96%)

Branch coverage included in aggregate %.

8963 of 18905 relevant lines covered (47.41%)

2.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 website - 22040173239.1 15 Feb 2026 05:43PM UTC 3
95.26
GitHub Action Run
2 desktop - 22040173239.2 15 Feb 2026 05:44PM UTC 25
43.41
GitHub Action Run
3 homepage - 22040173239.3 15 Feb 2026 05:43PM UTC 4
100.0
GitHub Action Run
4 android - 22040173239.4 15 Feb 2026 05:44PM UTC 92
18.71
GitHub Action Run
5 webserver - 22040173239.5 15 Feb 2026 05:44PM UTC 64
65.64
GitHub Action Run
6 shared - 22040173239.6 15 Feb 2026 05:44PM UTC 87
81.54
GitHub Action Run
Source Files on build 22040173239
  • Tree
  • List 275
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22040173239
  • 0f6f9d1c on github
  • Prev Build on the-one (#22040134798)
  • Next Build on the-one (#22040523911)
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