minitest 命令

目录结构:

  

 

切换到项目目录下:

  minitest -m test.first_test -c config.json -g

  test为包名

查看报告:

  python -m http.server 12345 -d outputs

  --outputs 为报告生成目录

  --需要安装HTTPServer   pip install HTTPServer

  查看报告:http://localhost:12345/

 

 

  

  

posted @ 2021-06-17 14:31  爱语默  阅读(308)  评论(0编辑  收藏  举报