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

mathieuprog / polymorphic_embed / f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148
86%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix-embeds-cast-and-forms
DEFAULT BRANCH: master
Ran 23 Oct 2026 11:04AM UTC
Jobs 8
Files 6
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

23 Oct 2026 11:01AM UTC coverage: 83.101% (+0.2%) from 82.933%
f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148

Pull #148

github

nduitz
Add regression tests for inserts, forms and load options

A review of the change that keeps the child changesets in the changes
found these flows. The tests check that:

- an insert keeps embeds of more than one type that are only in the
  data, and generates their ids
- the form helper builds forms when the changes hold structs, also
  after the repo prepared them
- polymorphic embeds inside an ordinary embed of a child, and that
  ordinary embed, get ids on insert
- lists with entries that the load kept as maps or set to nil can be
  replaced
- the struct that apply_changes/1 returns can be inserted, with ids
Pull Request #148: Ecto parity

160 of 192 new or added lines in 4 files covered. (83.33%)

11 existing lines in 1 file now uncovered.

418 of 503 relevant lines covered (83.1%)

516.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
56.86
lib/polymorphic_embed/embedded.ex
8
86.35
3.15% lib/polymorphic_embed.ex
1
95.08
2.06% lib/polymorphic_embed/html/helpers.ex
1
58.06
3.23% lib/polymorphic_embed/options_validator.ex

Coverage Regressions

Lines Coverage ∆ File
11
86.35
3.15% lib/polymorphic_embed.ex
Jobs
ID Job ID Ran Files Coverage
1 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.1 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
2 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.2 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
3 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.3 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
4 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.4 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
5 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.5 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
6 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.6 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
7 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.7 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
8 f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148.8 23 Oct 2026 11:04AM UTC 6
83.1
GitHub Action Run
Source Files on build f333f9a0c6afafdd3337a1b59b501e9501bb59ff-PR-148
  • Tree
  • List 6
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #148
  • PR Base - master (#6AA26ED7...)
  • Delete
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