Items related to pytest Quick Start Guide: Write better Python code...

pytest Quick Start Guide: Write better Python code with simple and maintainable tests - Softcover

  • 4.06 out of 5 stars
    16 ratings by Goodreads
 
9781789347562: pytest Quick Start Guide: Write better Python code with simple and maintainable tests

Synopsis

Learn the pytest way to write simple tests which can also be used to write complex tests

Key Features

  • Become proficient with pytest from day one by solving real-world testing problems
  • Use pytest to write tests more efficiently
  • Scale from simple to complex and functional testing

Book Description

Python's standard unittest module is based on the xUnit family of frameworks, which has its origins in Smalltalk and Java, and tends to be verbose to use and not easily extensible.The pytest framework on the other hand is very simple to get started, but powerful enough to cover complex testing integration scenarios, being considered by many the true Pythonic approach to testing in Python.

In this book, you will learn how to get started right away and get the most out of pytest in your daily workflow, exploring powerful mechanisms and plugins to facilitate many common testing tasks. You will also see how to use pytest in existing unittest-based test suites and will learn some tricks to make the jump to a pytest-style test suite quickly and easily.

What you will learn

  • Write and run simple and complex tests
  • Organize tests in fles and directories
  • Find out how to be more productive on the command line
  • Markers and how to skip, xfail and parametrize tests
  • Explore fxtures and techniques to use them effectively, such as tmpdir, pytestconfg, and monkeypatch
  • Convert unittest suites to pytest using little-known techniques
  • Use third-party plugins

Who this book is for

This book is for Python programmers that want to learn more about testing. This book is also for QA testers, and those who already benefit from programming with tests daily but want to improve their existing testing tools.

Table of Contents

  1. Introducing pytest
  2. Writing and running tests
  3. Markers and parametrization
  4. Fixtures
  5. Plugins
  6. Converting unittest suites to pytest
  7. Wrappin up

"synopsis" may belong to another edition of this title.

About the Author

Bruno Oliveira is a software developer with 18 years experience working at ESSS, developing desktop and web applications for simulation and numerical analysis for several industry sectors including oil and gas, aerospace, automotive, and chemical processes. Having taken part in the development of an internal testing framework to attend to the various needs of the applications he worked with, and having always been interested in testing and software quality, in 2012, Bruno took note of pytest and immediately fell in love with the project. He started contributing whenever he could and has been a pytest core contributor since 2014.

"About this title" may belong to another edition of this title.

Buy Used

Condition: As New
Unread book in perfect condition...
View this item

US$ 2.64 shipping within U.S.A.

Destination, rates & speeds

Search results for pytest Quick Start Guide: Write better Python code...

Seller Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 33717395-n

Contact seller

Buy New

US$ 33.95
Convert currency
Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover

Seller: Lucky's Textbooks, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # ABLIING23Mar2912160184694

Contact seller

Buy New

US$ 32.61
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover

Seller: California Books, Miami, FL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # I-9781789347562

Contact seller

Buy New

US$ 37.00
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Oliveira, Bruno
Published by 8/30/2018, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover

Seller: BargainBookStores, Grand Rapids, MI, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Pytest Quick Start Guide (Paperback or Softback) 0.63. Seller Inventory # BBS-9781789347562

Contact seller

Buy New

US$ 37.17
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 5 available

Add to basket

Stock Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover

Seller: Best Price, Torrance, CA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. SUPER FAST SHIPPING. Seller Inventory # 9781789347562

Contact seller

Buy New

US$ 29.31
Convert currency
Shipping: US$ 8.98
Within U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Seller Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
Used Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: As New. Unread book in perfect condition. Seller Inventory # 33717395

Contact seller

Buy Used

US$ 36.68
Convert currency
Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Bruno Oliveira
Published by Packt Publishing Limited, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New PAP
Print on Demand

Seller: PBShop.store US, Wood Dale, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781789347562

Contact seller

Buy New

US$ 42.83
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Bruno Oliveira
Published by Packt Publishing Limited, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New PAP
Print on Demand

Seller: PBShop.store UK, Fairford, GLOS, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781789347562

Contact seller

Buy New

US$ 41.51
Convert currency
Shipping: US$ 5.68
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover
Print on Demand

Seller: Majestic Books, Hounslow, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Print on Demand. Seller Inventory # 370861249

Contact seller

Buy New

US$ 42.89
Convert currency
Shipping: US$ 8.87
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 4 available

Add to basket

Stock Image

Oliveira, Bruno
Published by Packt Publishing, 2018
ISBN 10: 1789347564 ISBN 13: 9781789347562
New Softcover

Seller: Ria Christie Collections, Uxbridge, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. In. Seller Inventory # ria9781789347562_new

Contact seller

Buy New

US$ 39.55
Convert currency
Shipping: US$ 16.36
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

There are 6 more copies of this book

View all search results for this book