BIBLIO is the largest independent book marketplace in the world, with over 100 million books.

Skip to content

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in
Stock photo: cover may vary

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python Paperback - 2021

by Ashwin Pajankar

Add to wish list

Reader reviews for Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

From the publisher

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

Who This Book Is ForPython developers, software testers, open source enthusiasts, and contributors to the Python community.

From the rear cover

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.

You will:

  • 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

Details

  • Title Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
  • Author Ashwin Pajankar
  • Binding Paperback
  • Pages 209
  • Volumes 1
  • Language ENG
  • Publisher Apress
  • Publication date 2021-12-04
  • Illustrated Yes
  • Features Illustrated
  • ISBN 9781484278536 / 1484278534
  • Weight 0.73 lbs (0.33 kg)
  • Dimensions 9.21 x 6.14 x 0.49 in (23.39 x 15.60 x 1.24 cm)
  • Category Computers - Languages / Programming

About the author

Ashwin Pajankar holds a Master of Technology from IIIT Hyderabad, and has over 25 years of programming experience. He started his journey in programming and electronics with BASIC programming language and is now proficient in Assembly programming, C, C++, Java, Shell Scripting, and Python. Other technical experience includes single board computers such as Raspberry Pi and Banana Pro, and Arduino. He is currently a freelance online instructor teaching programming bootcamps to more than 60,000 students from tech companies and colleges. His Youtube channel has an audience of 10000 subscribers and he has published more than 15 books on programming and electronics with many international publications.

More Copies for Sale

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
Stock photo: cover may vary

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

by Pajankar, Ashwin

  • Used
  • Paperback
Condition
New
Edition
2nd ed
Binding
Paperback
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
1
Seller
Item price
A$42.33
A$13.85 Delivery to USA

Show details

Description:
Apress, 2021-12-04. 2nd ed. paperback. Like New. 6x0x9. Paperback--no flaws
Add to wish list
Item price
A$42.33
A$13.85 Delivery to USA
Python Unit Test Automation
Stock photo: cover may vary

Python Unit Test Automation

by Pajankar, Ashwin,

  • Used
Condition
New
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
5
Seller
Item price
A$50.34
A$5.82 Delivery to USA

Show details

Description:
like new.
Add to wish list
Item price
A$50.34
A$5.82 Delivery to USA
Python Unit Test Automation
Stock photo: cover may vary

Python Unit Test Automation

by Pajankar, Ashwin,

  • New
Condition
New
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
5
Seller
Item price
A$59.64
A$5.82 Delivery to USA

Show details

Description:
new.
Add to wish list
Item price
A$59.64
A$5.82 Delivery to USA
Python Unit Test Automation Automate, Organize, and Execute Unit Tests in Python
Stock photo: cover may vary

Python Unit Test Automation Automate, Organize, and Execute Unit Tests in Python

by Pajankar, Ashwin

  • New
Condition
New
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
97
Seller
Item price
A$59.65
A$5.82 Delivery to USA

Show details

Description:
New. BRAND NEW, GIFT QUALITY! NOT OVERSTOCKS OR MARKED UP REMAINDERS! DIRECT FROM THE PUBLISHER!
Add to wish list
Item price
A$59.65
A$5.82 Delivery to USA
Python Unit Test Automation : Automate, Organize, and Execute Unit Tests in Python

Python Unit Test Automation : Automate, Organize, and Execute Unit Tests in Python

by Ashwin Pajankar

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
587
Seller
Item price
A$94.60
A$15.57 Delivery to USA

Show details

Description:
Paperback. New. New Book; Fast Shipping from UK; Not signed; Not First Edition; 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, or
Add to wish list
Item price
A$94.60
A$15.57 Delivery to USA
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

by Ashwin Pajankar

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
10
Seller
Item price
A$135.65
A$19.40 Delivery to USA

Show details

Description:
Paperback / softback. New. 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 first of which… Read more
Add to wish list
Item price
A$135.65
A$19.40 Delivery to USA
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
Stock photo: cover may vary

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

by Pajankar, Ashwin

  • Used
  • Good
  • Paperback
Condition
Good
Binding
Paperback
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
1
Seller
Item price
A$101.91
Free Delivery to USA

Show details

Description:
paperback. Good. Access codes and supplements are not guaranteed with used items. May be an ex-library book.
Add to wish list
Item price
A$101.91
Free Delivery to USA
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python
Stock photo: cover may vary

Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

  • New
Condition
New
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
1
Seller
Item price
A$121.91
A$5.82 Delivery to USA

Show details

Description:
2nd ed. edition NO-PA16APR2015-KAP. Papeback. New.
Add to wish list
Item price
A$121.91
A$5.82 Delivery to USA
Python Unit Test Automation Automate Organize And Execute Unit Tests In Python 2Ed (Pb 2022)
Stock photo: cover may vary

Python Unit Test Automation Automate Organize And Execute Unit Tests In Python 2Ed (Pb 2022)

by Pajankar A

  • New
Condition
New
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
1
Seller
FBS
Item price
A$162.86
A$33.42 Delivery to USA

Show details

Description:
Brand New. Brand New! Fast Delivery US Edition and ship within 24-48 hours. Deliver by FedEx, UPS, & USPS and we do not accept APO and PO BOX Addresses. Order can be delivered worldwide within 7-12 days and we do have flat rate for up to 2LB. Extra shipping charges will be requested if the Book weight is more than 5 LB. This Item May be shipped from India.
Add to wish list
Item price
A$162.86
A$33.42 Delivery to USA
PYTHON UNIT TEST AUTOMATION AUTOMATE ORGANIZE AND EXECUTE UNIT TESTS IN PYTHON 2ED (PB 2022)
Stock photo: cover may vary

PYTHON UNIT TEST AUTOMATION AUTOMATE ORGANIZE AND EXECUTE UNIT TESTS IN PYTHON 2ED (PB 2022)

by PAJANKAR A

  • New
Condition
New
Edition
USA Edition
ISBN 10 / ISBN 13
9781484278536 / 1484278534
Quantity available
2
Seller
Item price
A$175.24
A$5.82 Delivery to USA

Show details

Description:
USA Edition . New. Brand New! Fast Delivery US Edition and ship within 24-48 hours. Deliver by FedEx and Dhl, & Aramex, UPS, & USPS and we do accept APO and PO BOX Addresses. Order can be delivered worldwide within 6-10 days and we do have flat rate for up to 2LB. Extra shipping charges will be requested if the Book weight is more than 5 LB. This Item May be shipped from India, United states & United Kingdom. Depending on your location and availability.
Add to wish list
Item price
A$175.24
A$5.82 Delivery to USA