squirtleDevs / scaffold-eth

🏗 forkable Ethereum dev stack focused on fast product iterations
https://scaffoldeth.io
MIT License
13 stars 19 forks source link

Write auto-grading tests for the smart contracts #6

Open steve0xp opened 2 years ago

steve0xp commented 2 years ago

https://github.com/squirtleDevs/scaffold-eth/blob/1c198076b5e548a3eef4dae55d6c8f6a158ef35c/README.md?plain=1#L386

steve0xp commented 2 years ago

Harshit (@supernovahs444) and I created different test files. I struggled with getting mine to connect to everything and maybe went a bit too in depth with some things I wanted to check.

Harshit got his to work I believe, and I am in the middle of reviewing it. All in all, the tests look good for being used for auto-grading.

Harshit DEX test repo: https://github.com/supernovahs/Tests-Dex-

Some aspects to add I think though: