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 自動化單元測試,利用 Python 3 自動化庫,如 doctest、unittest、nose、nose2 和 pytest。

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

Python 單元測試自動化 將通過實際的代碼範例和練習,幫助你快速提升對 Python 3 單元測試庫的理解。這使得本書成為希望開始使用 Python 3 進行單元測試自動化並比較 Python 2 差異的軟體開發人員和測試人員的絕佳資源。

這本簡短的著作是你掌握 Python 中軟體測試基本概念的必備快速入門指南。


 


你將學到的內容:

 



  • 軟體測試中的基本概念

  • 各種 Python 測試自動化庫,如 doctest、unittest、nose、nose2 和 pytest

  • 測試驅動開發及 Python 中測試自動化的最佳實踐

  • 代碼範例和練習


 


本書適合誰閱讀:

 

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