How to Write Unit Tests in the Hiro Platform
Hiro Hiro
1.5K subscribers
94 views
0

 Published On Feb 26, 2024

Learn how to easily write and run unit tests for Clarity smart contracts in the Hiro platform. Unit tests are a feature of the Clarinet SDK and are scripts that ensure your contract is working the way you expect it to.

Unit tests enable rapid iteration and development: these tests are quick to run and don't require deployments or spinning up devnet. Ready to take your contract development to the next level?

Try the Hiro Platform: https://www.hiro.so/platform
Learn more about unit tests: https://docs.hiro.so/clarinet/guides/...

00:00 Intro
00:42 Writing unit tests
02:30 Running unit tests
04:30 Using simnet
05:14 Wrapping values

show more

Share/Embed