Python Unit Test Automation: Practical Techniques for Python Developers and Testers (Python 單元測試自動化:Python 開發者與測試者的實用技術)

Ashwin Pajankar

買這商品的人也買了...

相關主題

商品描述

Quickly learn how to automate unit testing of Python 3 code with Python 3 automation libraries, such as doctest, unittest, nose, nose2, and pytest. 

This book explores the important concepts in software testing and their implementation in Python 3 and shows you how to automate, organize, and execute unit tests for this language. This knowledge is often acquired by reading source code, manuals, and posting questions on community forums, which tends to be a slow and painful process.

Python Unit Test Automation will allow you to quickly ramp up your understanding of unit test libraries for Python 3 through the practical use of code examples and exercises. All of which makes this book a great resource for software developers and testers who want to get started with unit test automation in Python 3 and compare the differences with Python 2.

This short work is your must-have quick start guide to mastering the essential concepts of software testing in Python.

 
What You'll Learn: 
 
  • Essential concepts in software testing
  • Various test automation libraries for Python, such as doctest, unittest, nose, nose2, and pytest
  • Test-driven development and best practices for test automation in Python
  • Code examples and exercises
 
Who This Book Is For:
 
Python developers, software testers, open source enthusiasts, and contributors to the Python community
 
 

商品描述(中文翻譯)

快速學習如何使用Python 3自動化測試程式碼,包括doctest、unittest、nose、nose2和pytest等Python 3自動化測試庫。

本書探討軟體測試的重要概念及其在Python 3中的實現,並向您展示如何自動化、組織和執行該語言的單元測試。通常,這些知識是通過閱讀源代碼、手冊和在社區論壇上發問來獲得的,這往往是一個緩慢而痛苦的過程。

《Python單元測試自動化》將通過實際使用代碼示例和練習,讓您快速掌握Python 3單元測試庫的理解。這使得本書成為希望在Python 3中開始進行單元測試自動化並比較與Python 2的差異的軟體開發人員和測試人員的重要資源。

這本短篇作品是您必備的快速入門指南,以掌握Python中軟體測試的基本概念。

您將學到什麼:

- 軟體測試的基本概念
- Python的各種測試自動化庫,如doctest、unittest、nose、nose2和pytest
- 測試驅動開發和Python測試自動化的最佳實踐
- 代碼示例和練習

本書適合對象:

- Python開發人員
- 軟體測試人員
- 開源愛好者
- Python社區的貢獻者