Python Testing with pytest: Simple, Rapid, Effective, and Scalable
Описание
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.
График изменения цены & курс обмена валют
Пользователи также просматривали

32%
$22.63
Highly Effective and Powerful Advanced Rechargeable EMS Fitness Massager with Rapid Vibration - Top-rated Portable Muscle Toner
aliexpress.com
30%
$17.81
Highly Effective and Powerful Advanced Rechargeable EMS Fitness Massager with Rapid Vibration - Top-rated Portable Muscle Toner
aliexpress.com
26%
$20.63
Highly Effective and Powerful Advanced Rechargeable EMS Fitness Massager with Rapid Vibration - Top-rated Portable Muscle Toner
aliexpress.com
13%
$42.97
Golf Swing Waist Band Effective Golf Grip Trainer Waist Turning Aid Golf Swing Practicing Waist Band Highly Scalable Swing Belt
aliexpress.com
11%
$56.92
Canine Parvovirus Testing for CPV Test for Dogs Canine Rapid Test, Home Healthy Kit for Dog and Puppy
aliexpress.com
10%
$19.74
Unisex Hair Growth Oil Hair Loss Treatment Rapid Effective Baldness Repair Hereditary Postpartum Hair Loss
aliexpress.com
8%
$22.84
Unisex Hair Growth Oil Hair Loss Treatment Rapid Hair Growth Effective Baldness Repair Hereditary Postpartum Hair Loss
aliexpress.com
6%
$23.97
Unisex Hair Growth Oil Hair Loss Treatment Rapid Hair Growth Effective Baldness Repair Hereditary PostpartumHair Loss
aliexpress.com
4%
$42.97
Golf Swing Waist Band Effective Golf Training Golf Swing Trainers Highly Scalable Golf Swing Belt For Teenagers And Adults Golf
aliexpress.com
1%
$16.89
Mind Map Excellent Spanish Word Books Super Effective Word Memorization Method Language Book Self Study Zero Foundation TextbooK
aliexpress.com
1%
$21.91
Golf Swing Training Aid Golf Grip Trainer Waist Turning Aid Effective Golf Training Highly Scalable Golf Swing Belt For
aliexpress.com
1%
$20.56
Rapid hair growth essence, effective in 7 days, highly effective anti-hair loss product
aliexpress.com
-44%
1%
$23.75
Wooden Handheld Solar Film Heat Box Display For Demonstrate The Effective Of Film Blocking From The Sun,IR Testing KD-02
aliexpress.com
1%
$81.88
Wooden Handheld Solar Film Heat Box Display For Demonstrate The Effective Of Film Blocking From The Sun,IR Testing KD-02
aliexpress.com
1%
$49.43
ESDY Outdoor Sports Rapid Response Python Skin Breathable Men's Shoes Hunting Ankle Boots Safe Warm motocross boots
aliexpress.com
1%
$42.27
Golf Swing Waist Band Effective Waist Turning Aid Golf Swing Trainers Golf Swing Practicing Waist Band Highly Scalable Swing
aliexpress.com
1%
$42.99
Golf Swing Training Aid Effective Golf Training Golf Swing Trainers Highly Scalable Golf Swing Belt For Teenagers And Adults
aliexpress.com
1%
$20.05
Rapid hair growth essence, effective in 7 days, highly effective anti-hair loss product
aliexpress.com
1%
$22.84
Unisex Hair Growth Oil Hair Loss Treatment Rapid Hair Growth Effective Baldness Repair Hereditary Postpartum Hair Loss
aliexpress.com
1%
$42.16
Golf Swing Waist Strap Effective Waist Turning Aid Golf Swing Trainers Golf Swing Practicing Waist Band Highly Scalable Swing
aliexpress.com
1%
$64.37
PH Test Paper 1.09535.0001 Rapid Acidity and Alkalinity Test Strip High-precision Water Quality PH Value Testing
aliexpress.com
1%
$24.02
Golf Training Aid Effective Golf Training Golf Swing Trainers Highly Scalable Golf Swing Belt For Teenagers And Adults Golf
aliexpress.com
1%
$41.12
Golf Training Aid Effective Golf Grip Trainer Waist Turning Aid Highly Scalable Golf Swing Belt For Teenagers And Adults Golf
aliexpress.com
-3%
1%
$38.05
Python Scripting in Blender: Extend the power of Blender using Python to create objects, animations, and effective add-ons
aliexpress.com
1%
$23.65
Golf Training Aid Effective Waist Turning Aid Golf Swing Trainers Golf Swing Practicing Waist Band Highly Scalable Swing Belt
aliexpress.com
1%
$147.32
SKZ111B-1 PRO Rapid 33-Kind Grain Moisture Analyzer Meter LCD Display for Moisture Testing Coffee Beans Cocoa Beans Corn Maize
aliexpress.com
1%
$119.64
Vehicle Diagnostic Testing Tool DOT3 DOT5.1 Brake Fuild boiling point detector rapid test device coolant boiling point tester
aliexpress.com