Skip to content

test: Add comprehensive test suite for FundX crowdfunding contract - #1

Open
syed-ghufran-hassan wants to merge 1 commit into
jadonamite:mainfrom
syed-ghufran-hassan:patch-1
Open

test: Add comprehensive test suite for FundX crowdfunding contract#1
syed-ghufran-hassan wants to merge 1 commit into
jadonamite:mainfrom
syed-ghufran-hassan:patch-1

Conversation

@syed-ghufran-hassan

Copy link
Copy Markdown
  • Add campaign creation tests (valid/invalid parameters, multiple campaigns, edge cases)
  • Add donation tests (single/multiple donors, multiple donations, partial donations)
  • Add withdrawal tests (goal reached, deadline passed, authorization, double withdrawal)
  • Add platform fee calculation tests for various amounts
  • Add campaign deactivation tests (owner-only, donation prevention)
  • Add read-only function tests (is-campaign-ended, is-goal-reached, edge cases)
  • Add error code verification for all error conditions (100-110)
  • Add complex scenario tests (multiple campaigns with different states, cross-campaign donations)
  • Verify all state transitions and data integrity

- Add campaign creation tests (valid/invalid parameters, multiple campaigns, edge cases)
- Add donation tests (single/multiple donors, multiple donations, partial donations)
- Add withdrawal tests (goal reached, deadline passed, authorization, double withdrawal)
- Add platform fee calculation tests for various amounts
- Add campaign deactivation tests (owner-only, donation prevention)
- Add read-only function tests (is-campaign-ended, is-goal-reached, edge cases)
- Add error code verification for all error conditions (100-110)
- Add complex scenario tests (multiple campaigns with different states, cross-campaign donations)
- Verify all state transitions and data integrity
@vercel

vercel Bot commented Feb 20, 2026

Copy link
Copy Markdown

@syed-ghufran-hassan is attempting to deploy a commit to the Jadonamite's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant