Skip to content

test: add unit tests and claim specific amount functionality#1

Merged
dev-jodee merged 1 commit into
mainfrom
feat/unit-tests-and-claim-specific-amount
Feb 5, 2026
Merged

test: add unit tests and claim specific amount functionality#1
dev-jodee merged 1 commit into
mainfrom
feat/unit-tests-and-claim-specific-amount

Conversation

@dev-jodee
Copy link
Copy Markdown
Collaborator

Summary

  • Add comprehensive unit tests for all instructions (add_vesting_recipient, claim_vesting, close_vesting_distribution, create_vesting_distribution)
  • Implement partial claim functionality allowing recipients to claim specific amounts instead of only full vested amounts
  • Add GitHub Actions workflow for automated test coverage reporting
  • Extend validation traits for accounts, events, and PDAs with unit tests
  • Add utility macros for testing and event emission

Test Plan

  • Run just test to execute the full test suite
  • Verify coverage workflow runs on CI
  • Test partial claiming functionality in integration tests

- Add comprehensive unit tests for instructions and state
- Implement partial claim functionality for vesting
- Add GitHub Actions workflow for test coverage reporting
- Extend validation traits for accounts, events, and PDAs
- Add utility macros for testing and event emission
- Update IDL with new instruction data structures
@dev-jodee dev-jodee requested a review from amilz February 5, 2026 16:23
@dev-jodee dev-jodee merged commit e337113 into main Feb 5, 2026
6 checks passed
@dev-jodee dev-jodee deleted the feat/unit-tests-and-claim-specific-amount branch March 20, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants