Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
Language: English
Published by Apress, 2021
- Softcover
- Used

Seller: Sunshine State Books, Lithia, FL, U.S.A.Sunshine State Books
AbeBooks seller since September 4, 2013
Condition: Used - As new
£ 22.56
Quantity: 1 available
Add to basketItem description from seller
Paperback--no flaws.
Seller Inventory # BT260307084X21
- Title
- Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
- Author
- Pajankar, Ashwin
- Publisher
- Apress
- Publication year
- 2021
- Condition
- As New
- Binding
- paperback
- Language
- English
- ISBN 10
- 1484278534
- ISBN 13
- 9781484278536
- Edition
- 2nd ed.
- Item weight
- 12 ounces
- Dimensions
- 6x0x9
Learn how to automate unit tests of Python 3 with automation libraries, such as doctest, unittest, nose, nose2, pytest, and selenium. This book explores important concepts in software test automation and demonstrates how to automate, organize, and execute unit tests with Python. It also introduces readers to the concepts of web browser automation and logging.
This new edition starts with an introduction to Python 3. Next, it covers doctest and pydoc. This is followed by a discussion on unittest, a framework that comes packaged with Python 3 itself. There is a dedicated section on creating test suites, followed by an explanation of how nose2 provides automatic test module discovery. Moving forward, you will learn about pytest, the most popular third-party library and testrunner for Python. You will see how to write and execute tests with pytest. You’ll also learn to discover tests automatically with pytest.
This edition features two brand new chapters, the firstof which focuses on the basics of web browser automation with Selenium. You’ll learn how to use Selenium with unittest to write test cases for browser automation and use the Selenium IDE with web browsers such as Chrome and Firefox. You’ll then explore logging frameworks such as Python’s built-in logger and the third-party framework loguru.
The book concludes with an exploration of test-driven development with pytest, during which you will execute a small project using TDD methodology.
What You Will Learn
- Start testing with doctest and unittest
- Understand the idea of unit testing
- Get started with nose 2 and pytest
- Learn how to use logger and loguru
- Work with Selenium and test driven development
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
Sunshine State Books
Lithia, FL, U.S.A.
AbeBooks seller since September 4, 2013
Shipping rates within U.S.A.
| Item | 5 to 14 business days | 3 to 5 business days |
|---|---|---|
| First item | £ 4.58 | £ 6.82 |
Payment methods
Store description
We are an internet bookseller doing business only through the internet. If we have made an error in your order, we accept all returns that we receive within 30 days of delivery. For orders that you want to return because you changed your mind, the book is no longer wanted, or you failed to read the description, we do not accept returns. This policy was implemented as the cost of these requests has become prohibitive. We appreciate your business.
Seller's business information
Sunshine State Books
FL, U.S.A.
Terms of sale
We guarantee the condition of every book as it's described on the Abebooks web sites. If you're dissatisfied with your purchase (Incorrect Book/Not as Described/Damaged) or if the order hasn't arrived, you're eligible for a refund within 30 days of the estimated delivery date. If you've changed your mind about a book that you've ordered, please use the Ask bookseller a question link to contact us and we'll respond within 2 business days.
Info required for EU:
Name: Jip Lee DBA Sunshine State Books
Address 10619 Walter Hunter Rd Lithia FL USA 33547
Phone: 813 737 1606
Email: jiplee@aol.com
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to Sunshine State Books, Lithia, Florida, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.
Shipping terms
Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.