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

bleedingdeacons / confur / 30441046368
95%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2026 09:47AM UTC
Jobs 1
Files 16
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

29 Jul 2026 09:47AM UTC coverage: 90.884% (+86.1%) from 4.81%
30441046368

push

github

web-flow
test: raise line coverage to ~90% (tests only) (#32)

Add unit tests across Confur's non-admin classes to bring line coverage from
~4.6% to ~90% without touching production code:

- AnswerRepository: getValue/getAnswerStatus/getAllAnswers/getRegisteredGroups,
  the real findDuplicate (single/paired/swapped/latest branches) and
  getGroupAnswers — exercising the actual methods rather than a re-implementation
- AnswerHandler: submission (draft/complete/guards) and registration
  (confirm/blocked/duplicate/missing-meeting, ACF object/array normalisation)
- Plugin: init/registerHooks bootstrap, menu registration, post-type tweak,
  Divi shortcode disabling, and activation capabilities
- EmailService: all send* paths incl. allocation and duplicate variants
- MeetingRepository, AnswerAPI, AcfHelper, HtmlHelper, the general/step/
  tradition/pledge shortcodes, and the asset/shortcode services

Coverage config now excludes src/Admin — the settings/status/result/email-
template screens, list-table columns and heads-up notices, which are WordPress
render/menu glue exercised through the admin UI at runtime — matching the
src/Admin exclusions the other suite plugins apply.

The test harness (tests/bootstrap.php + tests/confur-test-harness.php) gains
controllable ACF/post/option stubs, a couple of WordPress classes and the
plugin constants these tests drive; wp_send_json_* now throw instead of exit so
the handler's terminal responses can be asserted.

977 of 1075 relevant lines covered (90.88%)

2.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30441046368.1 29 Jul 2026 09:47AM UTC 16
90.88
GitHub Action Run
Source Files on build 30441046368
  • Tree
  • List 16
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30441046368
  • 95f7c1c3 on github
  • Prev Build on main (#29916214769)
  • Next Build on main (#30559209972)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc