Python Testing Cookbook
Python Testing Cookbook.: Easy solutions to test your Python projects using test-driven development and Selenium by Greg L. Turnquist
English | 29 Jun. 2018 | ISBN: 1787122522 | 396 Pages | EPUB | 5.93 MB


Fix everyday testing problems in Python with the help of this solution-based guide

Key Features
Use powerful tools such as doctest and unittest to make testing convenient
Apply automation testing to an existing legacy system that isn't test oriented
A practical guide to ease testing in Python using real-world examples

Book Description
Automated testing is the best way to increase efficiency while reducing the defects of software testing. It helps find bugs in code easily and at an early stage so that they can be tackled efficiently. This book delves into essential testing concepts used in Python to help you build robust and maintainable code.

Python Testing Cookbook begins with a brief introduction to Python's unit testing framework to help you write automated test cases. You will learn how to write suitable test sets for your software and run automated test suites with Nose. You will then work with the unittest.mock library, which allows you to replace the parts of your system that are being tested with mock objects and make assertions about how they have been used. You will also see how to apply Test-driven Development (TDD) and Behavior-driven Development (BDD) and how to eliminate issues caused by TDD. The book explains how to integrate automated tests using Continuous Integration and perform smoke/load testing. It also covers best practices and will help you solve persistent testing issues in Python. The book concludes by helping you understand how doctest works and how Selenium can be used to test code efficiently.

What you will learn
Run test cases from the command line with increased verbosity
Write a Nose extension to pick tests based on regular expressions
Create testable documentation using doctest
Use Selenium to test the Web User Interface
Write a testable story with Voidspace Mock and Nose
Configure TeamCity to run Python tests on commit
Update project-level scripts to provide coverage reports

Who This Book Is For
If you're a Python developer who wants to take testing to the next level and would like to expand your testing skills, this book is for you. It is assumed that you have some Python programming knowledge.

Table of Contents
USING UNITTEST TO DEVELOP BASIC TESTS
RUNNING AUTOMATED TEST SUITES WITH NOSE
CREATING TESTABLE DOCUMENTATION WITH DOCTEST
TESTING CUSTOMER STORIES WITH BEHAVIOR DRIVEN DEVELOPMENT
HIGH LEVEL CUSTOMER SCENARIOS WITH ACCEPTANCE TESTING
INTEGRATING AUTOMATED TESTS WITH CONTINUOUS INTEGRATION
MEASURING YOUR SUCCESS WITH TEST COVERAGE
SMOKE/LOAD TESTING―TESTING MAJOR PARTS
GOOD TEST HABITS FOR NEW AND LEGACY SYSTEMS
Web UI testing using Selenium

 

Python Testing Cookbook


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Solid   |  

Information
Members of Guests cannot leave comments.


SermonBox - Seasonal Collection

SermonBox - The Series Pack Collection

Top Rated News

  • Christmas Material
  • Laser Cut & Print Design Elements Bundle - ETSY
  • Daz3D - All Materials - SKU 37000-37999
  • Cgaxis - All Product - 2019 - All Retail! - UPDATED!!!
  • DigitalXModels Full Collections
  • Rampant Design Tools Full Collections Total: $4400
  • FilmLooks.Com Full Collection
  • All PixelSquid Product
  • The Pixel Lab Collection
  • Envato Elements Full Sources- 3200+ Files
  • Ui8.NET Full Sources
  • The History of The 20th Century
  • The Dover Collections
  • Snake Interiors Collections
  • Inspirational Collections
  • Veer Fancy Collections
  • All Ojo Images
  • All ZZVE Collections
  • All Sozaijiten Collections
  • All Image Broker Collections
  • Shuterstock Bundle Collections
  • Tattoo Collections
  • Blend Images Collections
  • Authors Tuorism Collections
  • Motion Mile - Big Bundle
  • PhotoBacks - All Product - 2018
  • Dekes Techniques - Photoshop & Illustrator Course - 1 to 673
Telegram GFXTRA Group
Udemy - Turkce Gorsel Ogrenme Setleri - Part 2
Videohive Wow Pack Series


rss