Skip to main content

14 docs tagged with "Testing"

Process of evaluating code.

View All Tags

Debugging

Learn how to use the std::debug module in Move for debugging and printing values.

Example Tests

Use the SoloContext to create full-blown tests for the dividend example smart contract.

First Example

Example of a _Solo_ test. It deploys a new chain and invokes some view calls.

Local Development

Guide to setting up and using a local IOTA network for development and testing.

Minting NFTs and Time Locks

You can post a time-locked request by using the Delay() method. You can mint NFTs by using the MintNFT() method.

Testing Smart Contracts

Testing of smart contracts happens in the Solo testing environment. This enables synchronous, deterministic testing of smart contract functionality without the overhead of having to start nodes, set up a committee, and send transactions over the _Tangle_.

The L2 Ledger

Smart contracts can exchange assets between themselves on the same chain and between different chains, as well as with addresses on the L1 ledger.