- Python服務(wù)端測試開發(fā)實(shí)戰(zhàn)
- 無涯編著
- 185字
- 2024-12-31 18:36:51
第1章
pytest測試實(shí)戰(zhàn)
pytest是非常優(yōu)秀的單元測試框架,支持不同的編程模式、參數(shù)化數(shù)據(jù)驅(qū)動(dòng)、豐富的插件、Hook函數(shù)、配置,同時(shí)也可以和主流的Allure框架整合生成漂亮的測試報(bào)告。通過對(duì)本章內(nèi)容的學(xué)習(xí),讀者可以掌握以下知識(shí)。
自動(dòng)化測試編寫規(guī)范、原則與注意事項(xiàng)。
pytest命令行執(zhí)行詳解。
pytest參數(shù)化驅(qū)動(dòng)實(shí)戰(zhàn)。
fixture函數(shù)與conftest.py實(shí)戰(zhàn)。
pytest強(qiáng)大的配置特性與功能。
pytest主流插件的應(yīng)用。
pytest.ini與tox.ini配置實(shí)戰(zhàn)。
Allure框架整合pytest生成測試報(bào)告。
推薦閱讀
- Django+Vue.js商城項(xiàng)目實(shí)戰(zhàn)
- VMware View Security Essentials
- Java應(yīng)用與實(shí)戰(zhàn)
- AngularJS Testing Cookbook
- Ext JS Data-driven Application Design
- Instant 960 Grid System
- Wireshark Network Security
- C語言程序設(shè)計(jì)立體化案例教程
- Learning Salesforce Einstein
- Building Wireless Sensor Networks Using Arduino
- Java程序員面試筆試寶典(第2版)
- C# Multithreaded and Parallel Programming
- Odoo 10 Implementation Cookbook
- 響應(yīng)式Web設(shè)計(jì):HTML5和CSS3實(shí)戰(zhàn)(第2版)
- INSTANT Apache ServiceMix How-to