•第一行:
platform win32 – Python 3.7.0, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
運行的系統平台,Python版本,pytest版本,以及pytest的兩個包 py 和 pluggy 的版本。
•第二行:
rootdir: D:\study\python_work\gm_lianxi\pytest_gm
rootdir(當前起始目錄),infile 用於列舉配置文件(這里沒有指定)
•第三行:
plugins: allure-pytest-2.8.12
plugins(使用到的插件)
•第四行:collected 1 items
搜索范圍內找到一個測試條目
•第五行:test_first.py .
first.py 表示測試文件, . 表示測試通過。
•最后一行:
==== 1 passed in 0.01s ====
表示測試通過的數量以及這段會話耗費的時間。