
Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python, (Paperback)
Key item features
- Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python, (Paperback)
- Author: Apress
- ISBN: 9781484278536
- Format: Paperback
- Publication Date: 2021-12-04
- Page Count: 209
Specs
- Book formatPaperback
- Fiction/nonfictionNon-Fiction
- GenreComputing & Internet
- Pub date2021-12-04
- Pages209
- SubgenreLanguages
- Free shipping
Free 90-day returns
How do you want your item?
More seller options (3)
Get free delivery, shipping and more*
About this item
Product details
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
- Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python, (Paperback)
- Author: Apress
- ISBN: 9781484278536
- Format: Paperback
- Publication Date: 2021-12-04
- Page Count: 209
Specifications
Book format
Fiction/nonfiction
Genre
Pub date
Warranty
Warranty information
Similar items you might like
Based on what customers bought
Python for DevOps: Master automation, CI/CD pipelines, and containerization with Python DevOps strategies (English Editi, (Paperback) $39.95
$3995current price $39.95Python for DevOps: Master automation, CI/CD pipelines, and containerization with Python DevOps strategies (English Editi, (Paperback)
Hands-On Machine Learning with Python: Implement Neural Network Solutions with Scikit-Learn and Pytorch, (Paperback) $48.75
$4875current price $48.75Hands-On Machine Learning with Python: Implement Neural Network Solutions with Scikit-Learn and Pytorch, (Paperback)
Python: Ensure your code is sleek, efficient and elegant by mastering powerful Python design patterns, (Paperback) $36.39
$3639current price $36.39Python: Ensure your code is sleek, efficient and elegant by mastering powerful Python design patterns, (Paperback)
Test Automation Engineering Handbook: Learn and implement techniques for building robust test automation frameworks (Paperback) $40.55
$4055current price $40.55Test Automation Engineering Handbook: Learn and implement techniques for building robust test automation frameworks (Paperback)
Hypermodern Python Tooling: Building Reliable Workflows for an Evolving Python Ecosystem $37.53
$3753current price $37.53Hypermodern Python Tooling: Building Reliable Workflows for an Evolving Python Ecosystem
Testing Python: Applying Unit Testing, Tdd, BDD and Acceptance Testing (Paperback) $27.00
$2700current price $27.00Testing Python: Applying Unit Testing, Tdd, BDD and Acceptance Testing (Paperback)
Asynchronous Programming in Python: Apply asyncio in Python to build scalable, high-performance apps across multiple sce, (Paperback) $44.97
$4497current price $44.97Asynchronous Programming in Python: Apply asyncio in Python to build scalable, high-performance apps across multiple sce, (Paperback)
Create an Enterprise-Level Test Automation Framework with Appium: Using Spring-Boot, Gradle, Junit, Alm Integration, and, (Paperback) $41.08
$4108current price $41.08Create an Enterprise-Level Test Automation Framework with Appium: Using Spring-Boot, Gradle, Junit, Alm Integration, and, (Paperback)
API Testing and Development with Postman - Second Edition: API creation, testing, debugging, and management made easy, (Paperback) $47.42
$4742current price $47.42API Testing and Development with Postman - Second Edition: API creation, testing, debugging, and management made easy, (Paperback)
Python Testing with Selenium: Learn to Implement Different Testing Techniques Using the Selenium Webdriver, (Paperback) $26.48
$2648current price $26.48Python Testing with Selenium: Learn to Implement Different Testing Techniques Using the Selenium Webdriver, (Paperback)
Hands-On Functional Test Automation: With Visual Studio 2017 and Selenium, (Paperback) $34.86
$3486current price $34.86Hands-On Functional Test Automation: With Visual Studio 2017 and Selenium, (Paperback)
Hands-On Matplotlib: Learn Plotting and Visualizations with Python 3, (Paperback) $49.69
$4969current price $49.69Hands-On Matplotlib: Learn Plotting and Visualizations with Python 3, (Paperback)
Learn Model Context Protocol with Python: Build agentic systems in Python with the new standard for AI capabilities, (Paperback) $36.99
$3699current price $36.99Learn Model Context Protocol with Python: Build agentic systems in Python with the new standard for AI capabilities, (Paperback)
Automated Unit Testing with ABAP: A Practical Approach, (Paperback) $41.98
$4198current price $41.98Automated Unit Testing with ABAP: A Practical Approach, (Paperback)
Security Automation with Python: Practical Python solutions for automating and scaling security operations, (Paperback) $49.06
$4906current price $49.06Security Automation with Python: Practical Python solutions for automating and scaling security operations, (Paperback)
Practical Python Data Visualization: A Fast Track Approach to Learning Data Visualization with Python, (Paperback) $47.16
$4716current price $47.16Practical Python Data Visualization: A Fast Track Approach to Learning Data Visualization with Python, (Paperback)
Test-Driven Development with PHP 8: Build extensible, reliable, and maintainable enterprise-level applications using TDD, (Paperback) $40.55
$4055current price $40.55Test-Driven Development with PHP 8: Build extensible, reliable, and maintainable enterprise-level applications using TDD, (Paperback)
Python Simplified with Generative AI: Hands-on Python development with GenAI tools integrating data science and web inte, (Paperback) $39.95
$3995current price $39.95Python Simplified with Generative AI: Hands-on Python development with GenAI tools integrating data science and web inte, (Paperback)
Effective Python Penetration Testing, (Paperback) $42.27
$4227current price $42.27Effective Python Penetration Testing, (Paperback)
Python: Penetration Testing for Developers $43.65
$4365current price $43.65Python: Penetration Testing for Developers
Customer ratings & reviews
Related pages
- Instrumentation Reliability
- Jcm-west-e Test Preparation Group
- Best Sellers In Industrial Scientific Retail Security Checkpoints
- Ict System
- Residential Wiring Diagrams
- 2008 National Electrical Code
- Peripherals Books
- General Data Transmission Systems Books
- NFPA National Electrical Code Books
- General Hardware Books
- Cybernetics Books
- Wireless Books
