课程编码
pytest
课程时长
21 小时 通常来说是3天,包括中间休息。
要求
- A general understanding of automation testing
Audience
- Software testers
课程概览
Machine Translated
课程大纲
Introduction to Unit Testing with PyTest
Unit Testing with UnitTest vs Unit Testing with PyTest
Writing Readable and Maintainable Tests
Using Mocks, Fakes and Stubs
Using Hooks, Assert Rewriting and Plug-ins
Streamlining Your Tests with Fixtures and Parameterized Testing
Obtaining the Desired Test Coverage
Generating Testable Documentation with Doctest
Integrating Python Unit Tests into a Continuous Integration (CI) Environment
Scaling Your Python Unit Tests
Use Python to Test Non-Python Applications
Summary and Conclusion