课程大纲
使用 PyTest 的 Unit Testing 简介
Unit Testing 使用 UnitTest 与 Unit Testing 使用 PyTest
编写可读和可维护的测试
使用模拟、伪造和存根
使用 Hooks、Assert 重写和插件
使用夹具和参数化测试简化测试
获得所需的测试覆盖率
使用 Doctest 生成可测试的 Documentation
将 Python 单元测试集成到持续集成 (CI) 环境中
缩放 Python 单元测试
使用 Python 测试非 Python 应用程序
总结和结论
要求
- 对自动化测试有大致的了解
观众
- 软件测试人员
客户评论 (7)
Expertise of the trainer, even if we asked very precise questions about specific topic, he was able to provide really meaningful and valuable for us questions. He has designed agenda of the training according to our needs and requests.
Filip - Orange Szkolenia Sp. z o.o.
课程 - Unit Testing with Python
I loved summaries
Martyna - Orange Szkolenia Sp. z o.o.
课程 - Unit Testing with Python
Materials Trainer
Zakar Abid - TII
课程 - Unit Testing with Python
Did hands on exercise. Walked through the code. Explained everything very well
Steve Thomas - TII
课程 - Unit Testing with Python
No rushing things, though a bit too slow sometimes. Checking excercises with group and comparing solutions
Piotr - ArcelorMittal Business Center of Excellence Poland Sp. z o.o. Sp. k.
课程 - Unit Testing with Python
The trainer is interactive with the audience. He is able to reply the questions easily and gives the accurate examples and illustrations in real life. The theoritical and practical rythm are smooth. The exercices give the user a better experience to think and structure his/ her way of testing and developping. Numpy and Pandas may be useful in order to better exploit data, such as performance results, statistics, image treatement, calculating the correlation for biological set images. The Django framework would be helpful for building web API. All this knowledge is an asset. However, I am not sure this would be fruitful for other contexts, since we need unit and Integration tests of Java apps in Python.
Soumaya ELALOUANI - Telemis
课程 - Unit Testing with Python
That we started from a simple implementation, adding functionalities/features until we need to update the design to keep having a maintainable software. Definitely real life job problems I see value in this. Also liked the use of VideoUpload project as we can relate to this working in Consult Red. Very open to questions, driving the class in a way asked by the audience.