Sign up
Forgot password?
FAQ: Login

Das B.N. et al. Python Testing Cookbook

  • zip file
  • size 93,25 KB
  • contains html txt document(s)
  • added by
  • info modified
2nd ed. — Packt Publishing, 2018. — 396 p. — ISBN: 9781787122529.
!only code files
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.
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up