DEV Community

bz
bz

Posted on

How to do Unit-testing using Hyperverse

If you read my previous post... Well, hello again

Image description

Introduction to unit-testing

Automated load testing is an essential part when building your own smart module in Hyperverse.

To start unit-testing do the following
Step 1
First follow the instructions from my previous post to get your Hyperverse setup
Step 2
Go to /packages/dapplib/tests/hyperverse-tests.js
Step 3
Add your tests into describe('Hello World Tests', async () => {}

Image description

Step 4
Run the command yarn test to see if your tests passed!

What is Hyperverse?

Image description

Hyperverse is an open, blockchain-agnostic, decentralized, marketplace for composable smart contracts. It is a solution specifically architected for decentralized composability at scale.

Hyperverse consists of several smart modules that you can combine to build applications on Web3 without knowing how to write smart contracts. They support several blockchains such as Ethereum, Algorand, and Flow.

You can use the Hyperverse to build a Dapp (Decentralized app) rapidly. Reach out to Decentology on Discord and they will help you get started.

Discussion (0)