{"product_id":"python-unit-test-automation-automate-organize-and-execute-unit-tests-in-python-9781484278536","title":"Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python","description":"\u003cp\u003eLearn 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.\u003c\/p\u003e\u003cp\u003eThis 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.\u003c\/p\u003e\u003cp\u003eThis edition features two brand new chapters, the first of 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.\u003c\/p\u003e\u003cp\u003eThe book concludes with an exploration of test-driven development with pytest, during which you will execute a small project using TDD methodology.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWhat You Will Learn\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eStart testing with doctest and unittest\u003c\/li\u003e\n\u003cli\u003eUnderstand the idea of unit testing\u003c\/li\u003e\n\u003cli\u003eGet started with nose 2 and pytest\u003c\/li\u003e\n\u003cli\u003eLearn how to use logger and loguru\u003c\/li\u003e\n\u003cli\u003eWork with Selenium and test driven development\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cb\u003eWho This Book Is For\u003c\/b\u003ePython developers, software testers, open source enthusiasts, and contributors to the Python community.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eBinding Type:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Apress\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 12\/04\/2021\u003cbr\u003e\u003cb\u003eISBN:\u003c\/b\u003e 9781484278536\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 209\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 0.73lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.21h x 6.14w x 0.49d","brand":"Ashwin Pajankar","offers":[{"title":"Default Title","offer_id":42389486862517,"sku":"9781484278536","price":46.74,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0473\/0804\/6492\/products\/img_3a585530-30dd-48e2-9d16-6b26685d2157.jpg?v=1663681337","url":"https:\/\/pastforward.org\/products\/python-unit-test-automation-automate-organize-and-execute-unit-tests-in-python-9781484278536","provider":"Past Forward","version":"1.0","type":"link"}