Use -k 'test_name' when running pytest . This will only run tests whose name match the string "test_name". Example: To run only test test_foo() ...
確定! 回上一頁