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

ingitdb / ingitdb-cli / 25781708246
96%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 06:09AM UTC
Jobs 1
Files 109
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

13 May 2026 06:06AM UTC coverage: 82.283% (-0.05%) from 82.329%
25781708246

push

github

inGitDB Dev
test(cli/drop): add --if-exists and end-to-end tests

Covers --if-exists short-circuit for both `drop collection` and
`drop view`, confirms --cascade is accepted as a no-op, and
exercises end-to-end transitive removal (drop collection removes its
nested \$views/ subtree automatically via os.RemoveAll).

AC cross-check: all ACs in spec/features/cli/drop/README.md are
covered by tests OR explicitly out-of-scope:
- drop-collection-success ✅ TestDrop_Collection_RemovesDataAndSchema
- drop-view-success ✅ TestDrop_View_RemovesMaterializedOutput
- unknown-kind-rejected ✅ TestDrop_RequiresKindAndName
- name-as-flag-rejected ✅ cobra's ExactArgs(1) rejects --name
- missing-target-fails-by-default ✅ TestDrop_Collection_NotFoundError
  + TestDrop_View_NotFoundError
- if-exists-idempotent ✅ TestDrop_Collection_IfExists_AbsentSucceeds
  + TestDrop_View_IfExists_AbsentSucceeds
- dependent-blocks-drop ⚠️ data model has no cross-object
  dependencies; AC documented as forward-compatible
- cascade-drops-dependents ⚠️ same as above; --cascade flag is
  accepted as a no-op
- cascade-without-dependents ✅ TestDrop_EndToEnd_CollectionWithView
  (transitive removal of nested views)
- rejects-shared-flags ⚠️ not implemented; drop ignores --id/--from/
  --where etc. silently. Cobra does not error on unknown subcommand
  flags. Documented as polish for a follow-up.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

7663 of 9313 relevant lines covered (82.28%)

0.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
76.54
0.29% cmd/ingitdb/main.go
Jobs
ID Job ID Ran Files Coverage
1 25781708246.1 13 May 2026 06:09AM UTC 109
82.28
GitHub Action Run
Source Files on build 25781708246
  • Tree
  • List 109
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c047a181 on github
  • Prev Build on main (#25751520949)
  • Next Build on main (#25783933264)
  • Delete
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