PyTest 支持xUnit style 结构, setup() 和teardown() 方法用于初始化和清理测试环境,可以保证测试用例的独立性。pytest的setup/teardown方法包括: ...
確定! 回上一頁