• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

stephenafamo / bob / 16059707149
36%
main: 42%

Build:
Build:
LAST BUILD BRANCH: query-test-hook
DEFAULT BRANCH: main
Ran 06 Jul 2025 06:04PM UTC
Jobs 1
Files 214
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

03 Jul 2025 08:05PM UTC coverage: 36.468%. Remained the same
16059707149

Pull #470

github

dutow
Add a WithExisting<Rel> function to one to many relations

Currently the factory code forcefully sets a template for required
relations if one isn't specified manually, even if the using code
manually specifies IDs for foreign keys.

With optional relations, it is possible to specify existing already
persisted records by setting the ID instead of the relation in a
template. With required relations, this is impossible because of the
above.

This commit lets users to select existing entries to one to many relations
with specifying an existing record.

The commit also introduces related generic functions, for example now it
is possible to use the FromExisting<Relation> functions in the main
Factory class, and return templates that are based on existing records,
and then can be customized further.
Pull Request #470: Factories should support using existing entries for required relations

8170 of 22403 relevant lines covered (36.47%)

272.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 go-stable - 16059707149.1 06 Jul 2025 06:04PM UTC 214
36.47
GitHub Action Run
Source Files on build 16059707149
  • Tree
  • List 214
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #470
  • PR Base - main (#16002849392)
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