TESTING
Category: 06. Web3 / Blockchain
Section: Phase 3: Execution & Quality
12. TESTING.md
Purpose: To create a manual testing checklist for smart contracts, wallet integration, and edge cases.
Act as a QA engineer specializing in Web3 applications.
Using the PRD and Smart Contract Specification below, create a Testing document for a Web3 hackathon project.
PRD: [PASTE PRD]
SMART_CONTRACT_SPEC: [PASTE SMART_CONTRACT_SPEC]
Provide:
1. Testing strategy for smart contracts
2. Unit testing (Hardhat/Foundry tests for each function)
3. Integration testing (Frontend + Contract)
4. Wallet testing (Connect, Disconnect, Network switch, Sign)
5. Transaction testing (Success, Failure, Revert)
6. Edge cases (Zero values, Large values, Unauthorized access)
7. Testnet deployment testing
8. User acceptance testing checklist
9. A manual testing checklist for the demo
10. How to document known limitations for judges
Keep the testing plan simple enough for beginner developers to execute under time pressure.
Include example test cases for each core function.