Skip to content

test: add full lifecycle integration edge cases#118

Merged
Smartdevs17 merged 2 commits intoSmartdevs17:mainfrom
JamesVictor-O:feat/issue-25-lifecycle-integration-tests
Mar 24, 2026
Merged

test: add full lifecycle integration edge cases#118
Smartdevs17 merged 2 commits intoSmartdevs17:mainfrom
JamesVictor-O:feat/issue-25-lifecycle-integration-tests

Conversation

@JamesVictor-O
Copy link
Copy Markdown
Contributor

@JamesVictor-O JamesVictor-O commented Mar 24, 2026

Summary

  • extend integration_test.rs with lifecycle edge-case coverage around borrow limits and collateral withdrawal constraints
  • add a regression test for exact principal repay followed by full collateral withdrawal
  • verify intermediate and final position/collateral state across the new paths

Test plan

  • cargo test -p hello-world integration_ -- --nocapture (blocked by pre-existing compile errors in hello-world unrelated to this test file change)
  • Reviewed new assertions for borrow/repay/withdraw invariants

Close #25

Add integration cases for borrow-limit failure, withdrawal with outstanding debt failure, and exact repay followed by full withdrawal to validate end-to-end state transitions and edge constraints.

Made-with: Cursor
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

@JamesVictor-O is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 24, 2026

@JamesVictor-O Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Smartdevs17 Smartdevs17 merged commit a269715 into Smartdevs17:main Mar 24, 2026
4 of 7 checks passed
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.

Feature: Add cross-module integration tests for deposit-borrow-repay-withdraw flow

2 participants