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

MushroomObserver / mushroom-observer / 23505051004
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: njw-3808-occurrences-phase1
DEFAULT BRANCH: main
Ran 24 Mar 2026 06:12PM UTC
Jobs 1
Files 928
Run time 2min
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

24 Mar 2026 06:08PM UTC coverage: 96.118% (+0.01%) from 96.105%
23505051004

Pull #3988

github

mo-nathan
Add coverage tests: branch now at 96.12% vs main 96.11%

32 new tests across 10 existing files:

Model tests (occurrence_test.rb):
- create_from_field_slip, add_to_existing merge path,
  check_field_slip_conflicts, observation_count_within_limits,
  dissolve field_slip/logging paths

Controller tests:
- occurrences: destroy with field_slip, missing occurrence,
  create rescue, source not found, <2 observations error
- field_slips: create/update with observation_ids triggering
  occurrence linking

API tests: high detail GET, created_at filter, single obs error

Component tests: location select, candidate controls, stimulus
  data attributes, include checkbox, primary radio, resolve form
  hidden fields, modal close button

Helper tests: sibling records with iNat links, herbarium records,
  multiple siblings aggregation

Mailer tests: enhanced with recipient/subject/body assertions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #3988: Add Occurrence model and migration (#3808)

1535 of 1580 new or added lines in 55 files covered. (97.15%)

4 existing lines in 3 files now uncovered.

35850 of 37298 relevant lines covered (96.12%)

668.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.89
app/classes/query/occurrences.rb
1
95.6
-1.02% app/controllers/api2_controller.rb
1
96.3
-0.46% app/controllers/observations/namings_controller.rb
1
97.83
app/helpers/observations/sibling_records_helper.rb
2
94.44
-5.56% app/components/form_carousel.rb
3
93.75
-6.25% app/components/naming_form.rb
3
91.43
app/controllers/occurrences_controller/show.rb
3
92.11
-0.39% app/helpers/namings_helper.rb
4
97.08
app/controllers/occurrences_controller/edit.rb
7
95.02
-1.15% app/models/observation.rb
8
95.09
app/models/occurrence.rb
11
93.08
app/controllers/field_slips_controller/observation_handling.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.62
-5.04% app/helpers/tabs/sequences_helper.rb
1
99.11
-0.89% app/models/sequence.rb
2
66.67
-33.33% app/helpers/field_slips_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 23505051004.1 24 Mar 2026 06:12PM UTC 928
96.12
GitHub Action Run
Source Files on build 23505051004
  • Tree
  • List 928
  • Changed 44
  • Source Changed 43
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23505051004
  • Pull Request #3988
  • PR Base - main (#23419790575)
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