jiakecong

前言

用过pytest的小伙伴都知道,pytest的运行方式是非常丰富的,可以说是你想怎么运行怎么运行,想运行哪些运行哪些,那httprunner是否同样可以呢?
 

运行用例的各种方式

 

运行指定路径的用例

格式:hrun + case路径

(httprunner_env) ➜  hrun hrun hrun_demo/testcases/baidu_test.py 
2021-02-09 16:23:16.507 | INFO     | httprunner.make:__make:512 - make path: /Users/jkc/hrun/hrun_demo/testcases/baidu_test.py
2021-02-09 16:23:16.508 | INFO     | httprunner.make:format_pytest_with_black:170 - format pytest cases with black ...
No Path provided. Nothing to do 

相关文章:

  • 2021-05-29
  • 2021-11-27
  • 2021-07-09
  • 2021-10-07
  • 2021-04-10
  • 2021-09-29
猜你喜欢
  • 2022-03-04
  • 2021-02-10
  • 2021-08-12
  • 2021-11-04
  • 2021-10-11
  • 2021-11-15
  • 2021-08-15
相关资源
相似解决方案