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

$11.48
Golf fashion brand men's clothing autumn and winter hot selling two-piece set men's zippered sweatshirt hooded sports set
aliexpress.ru
$48.31
Современные моторизованные римские жалюзи из хлопка и льна, плоские и складные, с шнурками
aliexpress.ru
$17.40
Camping Torch Head Flamethrower Part Cooking Culinary End Food Butane Lighter Accessory Propane
aliexpress.ru
$205.92
Nordic Gold Copper Chandeliers Luxury Crystal Lampshade Lighting for Dining room Mall Cloth Store Hanging Lamp Decorate 3 CD
aliexpress.com
$4.99
New Fashion Thickened Office Cushion Student Dormitory Futon Mat Tatami Lace Cushion Chair Cushion Office Bedroom Seat Cushion
aliexpress.com
$13.21
MASW оригинальный дизайн S925 крутые серьги со звездой 2022 новые трендовые Асимметричные высококачественные циркониевые серьги для женщин ювел...
aliexpress.ru
$0.61
20PCS DIY Pearl White Resin Buttons Coat Boots Sewing Clothes Button Scrapbooking Garment Apparel 9/10/11.5/12.5/15mm
aliexpress.com
$13.50
CARLYWET 22 24 26mm Black Brown Real Smooth Suede Leather Handmade Thick Wrist Watch Band Strap Belt
aliexpress.com
$10.44
Magazine-Unicorns and Girls (14CT) Needlework,For Embroidery,DIY 14CT Unprinted Arts Cross stitch kits Set Cross-Stitching
aliexpress.ru
$8.48
New Women's Panties Strawberry Girl Panties Women Cotton Crotch Shorts Mid-waist Student Briefs Breathable Female Lingerie
aliexpress.ru
$112.72
Маленькие журнальные столики в скандинавском стиле, Современная гостиная, диван, прикроватный белый столик, дополнительная мебель для спал...
aliexpress.ru
$18.40
Smoothies Cup Quick-Frozen Homemade Ice Cream Slushy Maker&Scoop Milkshake Bottle Slush Coffee and Shake Maker Fast Cooling Cup
aliexpress.com
$16.42
Car Center Console Air Conditioning Outlet Frame Decoration Cover Trim For BMW X3 G01 G08 2018 LHD ABS Interior Accessories
aliexpress.com
$31.20
Китайская керамическая чайная чашка кунг-фу, портативные уличные дорожные чайные чашки Gaiwan, чайная чашка для чайной церемонии, хороший пода...
aliexpress.ru
$10.11
10400mAh DIY Power Bank 4*18650 Battery Box Case Kit Universal USB External Backup Battery Charger Powerbank For All Cell Phones
aliexpress.ru
$21.28
Комплект аксессуаров для сварки GTBL TIG, втулки адаптера + Корпус + керамические сопла + вольфрамовые электроды для фотофонарей для сварки TIG
aliexpress.ru
$9.72
Allenjoy Aloha Summer Backdrop Beach Sea Flowers Tropical Leaves Black Girl Birthday Photozone Princess Baby Shower Patry Banner
aliexpress.ru
$48.50
Джинсы-трубы DD040 женские, узкие свободные джинсы с завышенной талией и широкими штанинами, осень
aliexpress.ru
$8.99
Ladies classic high-quality beige high heels, suitable for parties. Ladies fashion sweet brown office high heels zapatos
aliexpress.ru
$44.80
QFN16 MLF16 ожога в гнездо IC тестовая розетка IC550-0164-005-G шаг 0,5 мм размер чипа 3*3 флэш-адаптер раскладушка программирующая розетка
aliexpress.ru
$19.46
Цифровой сервомотор Hobbypark с высоким крутящим моментом, 30 кг, без сердечника, 2BB для модели 1/10 1/8 1/5, радиоуправляемая модель автомобиля, монстр...
aliexpress.ru
$69.24
skin-friendly ins super fire sports men's t-shirt professional wear polo shirt wild slim simple polo shirt
fordeal.com
$192.11
decorative super soft bedside no more than 1.2m after folding american baby crawling abstract carpet
fordeal.com
$20.89
Adults' Kigurumi Pajamas Panda Onesie Pajamas Flannelette Black / White Cosplay For Men and Women Animal Sleepwear Cartoon Festival / Holiday Costumes
miniinthebox.com
$9.99
Cat Animal Phone Case For Apple iPhone 12 iPhone 11 iPhone 12 Pro Max Unique Design Protective Case Shockproof Back Cover TPU
miniinthebox.com
$21.99
Men's Shorts Athleisure Cycling Quick Dry Moisture Wicking Breathable Soft Outdoor Sports Casual Sports Sweatpants Shorts Pants Solid Color Knee Length Sporty Drawstring Pocket Elastic Waist Yellow
miniinthebox.com
$9.51
Women Men Silicone Gel Invisible Increase Insole Sock Inner Heel Pad Foot Massage Unisex Hard-Wearing Anti-Slip Insoles 2-3.5cm1, White men 3.5cm
dhgate.com








