|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/big-data-testing/
课程评论:没有评论
**Coursera 课程总结:100 分钟学会 Pytest - Python 单元测试框架** 本课程是一门关于 Python 测试框架 Pytest 的速成课,旨在帮助学习者快速掌握 Pytest 的使用,使其能够轻松编写单元测试,并支持复杂的功能测试,从而为实际工作做好准备。 **课程亮点与覆盖内容:** * **易学易用:** Pytest 能够轻松编写小型测试,同时也能扩展支持复杂的应用程序和库的功能测试。 * **功能全面:** 课程将详细介绍 Pytest 的各项功能,包括: * **详细的失败断言信息:** 帮助定位测试失败原因。 * **自动发现测试:** 无需手动指定,Pytest 自动发现测试模块和函数。 * **模块化 Fixtures:** 有效管理测试资源,支持参数化和长期存在的资源。 * **兼容性:** 可直接运行 unittest 和 nose 测试套件。 * **丰富的插件生态:** 拥有超过 315 个外部插件和活跃的社区支持。 * **实践导向:** 课程内容涵盖从基础到进阶的 Pytest 应用,包括: * **分步安装指南。** * **Pytest 的介绍与优势。** * **如何编写 Pytest 测试用例。** * **为测试用例添加断言。** * **使用 Tag 对测试用例进行分组。** * **Pytest 格式化测试用例的标准。** * **测试报告的生成。** * **使用 Tag 执行特定测试组。** * **结合 Selenium 和 Python 在 Web 自动化框架中实际应用 Pytest。** * **Pytest 与高级报告的集成。** * **比较预期结果与实际结果以判定测试失败。** * **实时的面试问题(理论与实践)。** * **相关库的设置、重要性及使用。** **核心特性:** * 自动发现测试函数和模块。 * 模块化 Fixtures,高效管理测试资源。 * 强大的插件/库架构,丰富的社区支持。 本课程通过实际操作和理论讲解,致力于让学习者在短时间内掌握 Pytest 的核心技能,并能将其应用于实际项目中,提升代码质量和开发效率。
PYTEST makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.pytest is a mature full-featured Python testing tool that helps you write better programs. This course is a crash course which will make you job ready with practical exposed in quick time.FeaturesDetailed info on failing assert statementsAuto-discovery of test modules and functionsModular fixtures for managing small or parametrized long-lived test resourcesCan run unittest (including trial) and nose test suites out of the boxRich plugin architecture, with over 315+ external plugins and thriving communityCourse Coverage1. Step by Step Installation Instructions2. Introduction and Advantages of Pytest.3. How to write testcases using Pytest.4. Adding Assertions to Test Cases.5. Grouping of Test Cases using Tags6. Standard format of Pytest formatted testcases7. Reporting in Test Cases8. Execution of groups using Tags9. Realtime implementation of Pytest in Web Automation framework using Selenium & Python.10. Reporting integration with Pytest to generate advance level reporting.11. Compare expected and actual result of testcases to define failed testcases.12. Realtime interview question (Theoretical and Practical implementation 13. Setup related libraries, importance of libraries and its use.FeaturesAuto-discovery of test functions and modulesModular fixtures for managing small or parametrized long-lived test resourcesRich plugin/ library architecture, with over hundreds external plugins and thriving community