Tests are an important part of any software project. They are especially important in blockchain applications because smart contracts control digital assets. Move has a built-in testing framework that allows you to write tests for your modules.

To test a package, use the sui move test command. This command will run all the tests in the package, and print the results to the console.

$ sui move test