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

acossta / captan / 17160716822 / 1
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 22 Aug 2025 04:33PM UTC
Files 28
Run time 1s
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

22 Aug 2025 04:32PM UTC coverage: 82.954% (+2.4%) from 80.559%
17160716822.1

push

github

web-flow
feat: Complete CLI redesign with comprehensive testing (#24)

* feat: Complete CLI redesign to resource-oriented architecture

Implements GitHub issue #23 - transforms CLI from inconsistent command
patterns to clean resource-oriented architecture following RESTful principles.

## Architecture Changes
- Resource-first commands: `captan [resource] [action]`
- Consistent CRUD verbs: add, list, show, update, delete
- Email-based stakeholder identification support
- Clean handler separation by resource type

## New Command Structure
- stakeholder: add/list/show/update/delete
- security: add/list/show/update/delete
- issuance: add/list/show/update/delete
- grant: add/list/show/update/delete
- safe: add/list/show/update/delete/convert
- report: summary/ownership/stakeholder/security
- export: csv/json/pdf
- system: init/validate/schema/log

## Implementation
- Extracted 2,593 lines of handlers into clean modular files
- Fixed property name mismatches (pps vs pricePerShare)
- Implemented missing CRUD operations (many were stubs)
- Added comprehensive identifier resolution system
- Updated all 28 integration tests to new syntax

## Documentation
- Added comprehensive Usage section with all commands
- Updated all examples to use new resource-oriented syntax
- Fixed parameter notation (<required> vs [optional])
- Removed outdated command references

## Testing
- All 521 tests passing
- Complete end-to-end verification of new commands
- Integration tests updated for new CLI structure

Breaking changes for v0.4.0 - new architecture is production ready.

* test: add comprehensive handler tests and fix test isolation issues

- Add complete test suites for all handler modules (10 new test files)
- Add identifier-resolver and helpers test suites
- Fix test isolation issues by using factory functions and deep cloning
- Fix mock return structures to match implementation expectations
- Improve coverage from 39.23% to 83.93% overall
- Handler coverage increased to 94.79% ... (continued)

1206 of 1401 branches covered (86.08%)

Branch coverage included in aggregate %.

4595 of 5592 relevant lines covered (82.17%)

813.1 hits per line

Source Files on job node-20 - 17160716822.1
  • Tree
  • List 28
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 17160716822
  • 74e3f345 on github
  • Prev Job for on main (#17116622701.1)
  • Next Job for on main (#17162159487.1)
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