Repository navigation
Docs/test plan - #9
Merged
Merged
Conversation
docs/TESTING.md walks through every flow on the live testnet deployment, in USDC and in rupees: health and audit pages, test USDC, the lender in USDC and ₹, the merchant's revenue windows, the offer, the loan and its repayment, UPI sales, ₹ payouts, the exit page, failure paths and the deployment checks. Each step states what the page should show, with the numbers the contracts produce (grade C, limit 100, fee 10%, repay share 9.17% for three 400 USDC windows), and a results sheet. It also records the things that trip testers up: get test USDC first (that registers the wallet with the mock token, without which payouts and loans can't be delivered), one equal payment per clock window and an offer request in the very next one, repaying within the 5-minute loan period, and building history with crypto payments because simulated UPI payments all come from one payer. JUDGES.md gets the live web app URL, the same ordering and amounts, and the Get UPI QR step it was missing; the README links the web app and the test plan.
Getting test USDC also registers the wallet with the mock USDC token, so it has to happen before a merchant is paid or a loan is disbursed. The steps now say so, give the 400 USDC per window and the request-in-the- next-window timing, repay within 5 minutes, and link the full test plan.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Add a test plan and fix the testnet steps. docs/TESTING.md lists every flow (USDC and ₹, merchant, loan, lender, exit page, failure paths, deployment checks), what each step should show, and a results sheet. The judge guide and the home page card now say to get test USDC first, pay 400 per window and ask for the offer in the next window, repay within 5 minutes, and click Get UPI QR. The README links the web app at runway-dusky.vercel.app.