Python Testing with pytest: Simple, Rapid, Effective, and Scalable
Description
Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. The pytest testing framework helps you write tests quickly and keep them readable and maintainable - with no boilerplate code. Using a robust yet simple fixture model, it's just as easy to write small tests with pytest as it is to scale up to complex functional testing for applications, packages, and libraries. This book shows you how. For Python-based projects, pytest is the undeniable choice to test your code if you're looking for a full-featured, API-independent, flexible, and extensible testing framework. With a full-bodied fixture model that is unmatched in any other tool, the pytest framework gives you powerful features such as assert rewriting and plug-in capability - with no boilerplate code. With simple step-by-step instructions and sample code, this book gets you up to speed quickly on this easy-to-learn and robust tool. Write short, maintainable tests that elegantly express what you're testing. Add powerful testing features and still speed up test times by distributing tests across multiple processors and running tests in parallel. Use the built-in assert statements to reduce false test failures by separating setup and test failures. Test error conditions and corner cases with expected exception testing, and use one test to run many test cases with parameterized testing. Extend pytest with plugins, connect it to continuous integration systems, and use it in tandem with tox, mock, coverage, unittest, and doctest. Write simple, maintainable tests that elegantly express what you're testing and why. What You Need: The examples in this book are written using Python 3.6 and pytest 3.0. However, pytest 3.0 supports Python 2.6, 2.7, and Python 3.3-3.6.
Price history chart & currency exchange rate
Customers also viewed

$85.50
Небольшое измерение емкости PCAP01, плата разработки, последовательный порт, настраиваемый небольшой ЖК-дисплей для измерения сопротивления
aliexpress.ru
$38.34
18650 Battery 3500mAh Li-ion Rechargeable Battery 3.7v 25A 18650 High Discharge Battery 18650 Lithium ion Battery
aliexpress.ru
$5.98
for Apple Airpods Max Protective Headphone Leather Bluetooth Headphone Case Airpods Max Shockproof Headphone Cover
aliexpress.ru
$17.59
New Autumn Men Tshirt Casual Round Neck Long Sleeve T-shirt Mens Slim Sports Bottoming Shirt Plus Size Solid Color T Shirt Men
aliexpress.com
$3.39
SAVOYSHI Round Blue Crystal Cufflinks For Mens Shirt Accessories High Quality Fashion Brand Cuff Buttons Wedding Gift Jewelry
aliexpress.com
$49.93
Martin boots male high help han edition trend of men's shoes boots new men work boots boots male S56 - J
aliexpress.com
$42.30
European Style Soft Comfortable Quilt Cover for King and Queen Size, Gray Lace Embroidery Bedding, Duvet Cover, Pillowcases
aliexpress.com
$2.57
Women Ruffle Cancer Chemo Cap beanie czapka zimowa hats caps winter шапка женская muts gorro Hat Beanie Scarf Turban Head Wrap
aliexpress.com
$1.49
Individual Silk Eyelashes Soft Eyelash extension makeup tool Charming Single Lashes False Eyelashes
aliexpress.com
$27.60
S-4XL Plus Size Women's High-Waist Shorts Autumn Winter Loose Black Short Office Trousers Fashion Wide Leg Ladies Shorts C7953
aliexpress.com
$3.36
For iPhone 14 Plus ABEEL Genuine Leather + PC Litchi Texture Phone Case(Black)
sunsky-online.com
$30.04
Herre Pullover-hættetrøje Orange Hætte Dødningehoveder Grafiske tryk Flamme Trykt mønster Daglig Sport 3D-udskrivning Basale Gade Designer Forår & Vinter Tøj Hættetrøjer Sweatshirts
lightinthebox.com
$30.04
tegneserie dynebetræk sengesæt dynebetræk med 1 dynebetræk eller betræk,1 ark,2 pudebetræk til dobbelt/dronning/konge(1 pudebetræk til tvilling/enkelt)
lightinthebox.com
$24.48
Dame Afslappet påklædning Sommerkjole Print kjole Blomstret Krøllede Folder Lomme Rund hals Midikjole Mode Moderne udendørs Daglig Kortærmet Løstsiddende Kakifarvet Sommer Forår S M L XL XXL
lightinthebox.com
$26.70
Dame Tubekjole Mini kjole Svart Rosa Vin Kortermet Ren farge Rynket Vår Sommer Dyp V Stilfull 2023 S M L XL XXL 3XL
lightinthebox.com
$3.33
Dame Lommebok Pung Syntetisk utendørs Ferie Paljett Vanntett Pustende Holdbar Helfarge Svart Rosa Rød
lightinthebox.com$2.41
Diamond Style Protective Case for iPhone 6 Plus / 6S Plus Ultra-thin PC Hard Mobile Shell, Transparent
twinkledeals.com
$45.16
Papel pintado redondo autoadhesivo - Antique Shabby Baroque Wallpaper II Dimensión LxA: 50cm x 50cm
manomano.es
$20.97
planters & pots 24 hole 3pc seed tray suit ventilation holes seedling box stuffing garden plant germination pvc dome base pretty
dhgate.com
$0.05
Micui 200pcs 12mm Round Chamfer Surface Flatback crystals Stones Sewing Acrylic Rhinestones For Wedding Arts Crafts DIY Decorate ZZ781, Black
dhgate.com
$6.99
Thrisdar 2x2M 2X3M LED Net Mesh Fairy String Light Tree-wrap Light Christmas Tree Hotel Street Holiday Wedding Net Icicle Light
aliexpress.com
$10.88
Children Sweater 2020 Autumn/Winter Solid Cotton Kids Knitted Pullover Sweater For Boys 3-14 Years Wear Clj399
aliexpress.com
$237.94
Seicane Android 9.0 Car Multimedia Player For 2000 2001 2002-2011 Mercedes SLK Class R171 SLK200 SLK280 SLK300 SLK350 SLK55
aliexpress.com
$1.55
1 Box Mixed Dried Flowers Nail Decorations Jewelry Natural Floral Leaf Stickers 3D Nail Art Designs Polish Accessories
aliexpress.com









