Skip to content

Testing edge cases for smart contracts#21

Open
anurag-p6 wants to merge 14 commits intoc2siorg:devfrom
anurag-p6:dev
Open

Testing edge cases for smart contracts#21
anurag-p6 wants to merge 14 commits intoc2siorg:devfrom
anurag-p6:dev

Conversation

@anurag-p6
Copy link
Copy Markdown

@anurag-p6 anurag-p6 commented Mar 17, 2026

Summary
Written the test cases for smart contracts to check the workflow is proper or not at smart contract side.

Description

  1. Created 3 test files acc. to the 3 smart contracts to test the cases
  2. 1 file for the integration testing
  3. Separated out the testing contracts
  4. Performed the testing on my local device forge test
  5. Discovered the problem in contract(will fixed in next pr).
  6. Documented the implementation part in README.md

Outcome & Benefit

  1. Test the contract before deploying on mainnet and facing problem(your few $ will be saved on gas ;-) ).
  2. Get to know about new error
  3. Production grade setup
  4. Modularity for the new contributors to understand it and start working with less hassle
test1

P.S. - docs didn't pushed so here is SC

fixes #20

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