波卡一起学

Runtime测试

2019-10-11  本文已影响0人  空乱木

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

上一篇 下一篇

猜你喜欢

热点阅读