Test/bid placement withdrawal#271#517
Closed
ayomideadeniran wants to merge 3 commits intoQuickLendX:mainfrom
Closed
Test/bid placement withdrawal#271#517ayomideadeniran wants to merge 3 commits intoQuickLendX:mainfrom
ayomideadeniran wants to merge 3 commits intoQuickLendX:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds focused Soroban/Rust smart contract tests for Issue #271 covering bid placement and withdrawal behavior.
Implemented test matrix:
place_bidwithdraw_bidChanges
quicklendx-contracts/src/test/test_bid_placement_withdrawal.rsquicklendx-contracts/src/test.rsquicklendx-contracts/TEST_OUTPUT_ISSUE_271.mdWhy
These tests directly validate the required placement/withdrawal authorization and status constraints, reducing regression risk in core bid lifecycle paths.
Commits
test: add place_bid scenario coveragetest: add withdraw_bid edge case coveragedocs: add issue 271 test execution outputTesting
Command attempted:
cargo test -q test_bid_placement_withdrawal --manifest-path quicklendx-contracts/Cargo.tomlIn this environment, test execution is blocked by a filesystem error (
Invalid cross-device link (os error 18)), captured inquicklendx-contracts/TEST_OUTPUT_ISSUE_271.md.Please run in CI/local runner to validate full pass and confirm coverage threshold.
Close Pr #271