--gherkin-terminal-reporter
enable gherkin output
--gherkin-terminal-reporter-expanded
expand scenario outlines into scenarios and fill in the step names

 

详细显示执行信息

pytest -vv py_test/test1.py

详细显示执行信息并计算每个测试用例使用的时间

pytest -vv --durations=0 py_test/test_1.py


打印过程中的输出
pytest -s py_test/test_1.py

相关文章:

  • 2021-05-22
  • 2021-12-05
  • 2021-05-26
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2021-12-16
  • 2022-02-15
  • 2021-07-10
  • 2021-09-26
  • 2022-01-11
  • 2022-12-23
相关资源
相似解决方案