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

acossta / captan / 17160716822
83%

Build:
DEFAULT BRANCH: main
Ran 22 Aug 2025 04:33PM UTC
Jobs 2
Files 28
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

22 Aug 2025 04:32PM UTC coverage: 82.954% (+2.3%) from 80.673%
17160716822

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 %.

2469 of 3102 new or added lines in 16 files covered. (79.59%)

4 existing lines in 1 file now uncovered.

4595 of 5592 relevant lines covered (82.17%)

1626.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 node-20 - 17160716822.1 22 Aug 2025 04:33PM UTC 0
82.95
GitHub Action Run
2 node-22 - 17160716822.2 22 Aug 2025 04:33PM UTC 0
82.95
GitHub Action Run
Source Files on build 17160716822
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #17160716822
  • 74e3f345 on github
  • Prev Build on main (#17116622701)
  • Next Build on main (#17162159487)
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