Skip to content

test: add full learner journey integration coverage - #52

Open
Luzijano wants to merge 1 commit into
Kqirox:mainfrom
Luzijano:fix/14-full-learner-journey-integration
Open

test: add full learner journey integration coverage#52
Luzijano wants to merge 1 commit into
Kqirox:mainfrom
Luzijano:fix/14-full-learner-journey-integration

Conversation

@Luzijano

Copy link
Copy Markdown

Closes #14

Summary

  • adds an end-to-end CourseRegistry test that walks a learner through enrollment, module completion, badge minting, reward payout, and a badge-weighted governance vote
  • wires Governance as a dev-dependency for the cross-contract assertion
  • reuses the shared BASE_REWARD_AMOUNT constant in reward payout assertions

Tests

  • cargo +1.86.0 test -p course-registry

Note: the local workspace requires Rust 1.86.0 for the current Soroban dependency graph; stable 1.97.1 fails in ethnum.

@Luzijano
Luzijano force-pushed the fix/14-full-learner-journey-integration branch from 426c549 to c95a90c Compare July 21, 2026 00:25

@merlik787-droi merlik787-droi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@merlik787-droi merlik787-droi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove test snapshots

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.

[14] Add a multi-contract integration test covering the full learner journey

2 participants