1-查看测试模块
cargo.toml
[package]
authors = ['Bryan Chen']
build = 'build.rs'
edition = '2018’
name = 'substrate-kitties’
version = ‘2.0.0'
2-测试命令
cargo test -p substrate-kitties-runtime
3-测试命令
cargo test -p substrate-kitties-runtime - - - - nocapture 测试方法名称
4-测试命令
cargo test all