Unit Testing with Python培训

课程编码

pytest

课程时长

21 小时 通常来说是3天,包括中间休息。

要求

  • A general understanding of automation testing

Audience

  • Software testers

课程概览

单元测试是一种测试方法,它通过修改其属性或触发事件来测试源代码的各个单元,以确认结果是否如预期的那样。 PyTest是一个全功能,独立于API的,灵活且可扩展的测试框架,具有先进的全功能夹具模型。 在这个有指导意义的实时培训中,参与者将学习如何使用PyTest编写简洁,可维护的测试,这些测试是优雅,富有表现力和可读性的。 在培训结束后,参与者将能够: 编写可读和可维护的测试,而不需要样板代码使用夹具模型编写小测试扩展到应用程序,包和库的复杂功能测试理解并应用PyTest的特性,如挂钩,声明重写和插件通过在多个处理器上并行运行测试来缩短测试时间在持续集成环境中运行测试,以及其他工具,如tox,mock,coverage,unittest,doctest和Selenium 使用Python来测试nonPython应用程序 听众 软件测试人员 课程的格式 部分讲座,部分讨论,练习和沉重的练习

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

客户评论

★★★★★
★★★★★

课程分类

相关课程

促销课程

订阅促销课程

为尊重您的隐私,我公司不会把您的邮箱地址提供给任何人。您可以享有优先权和随时取消订阅的权利。

我们的客户

is growing fast!

We are looking to expand our presence in China!

As a Business Development Manager you will:

  • expand business in China
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!

该网站在其他国家/地区