2 options
Testing Python : applying unit testing, TDD, BDD, and acceptance testing / David Sale.
- Format:
- Book
- Author/Creator:
- Sale, David, author.
- Language:
- English
- Subjects (All):
- Python (Computer program language).
- Physical Description:
- 1 online resource (243 p.)
- Place of Publication:
- Chichester, England : Wiley, 2014.
- Summary:
- Fundamental testing methodologies applied to the popular Python language Testing Python; Applying Unit Testing, TDD, BDD and Acceptance Testing is the most comprehensive book available on testing for one of the top software programming languages in the world. Python is a natural choice for new and experienced developers, and this hands-on resource is a much needed guide to enterprise-level testing development methodologies. The book will show you why Unit Testing and TDD can lead to cleaner, more flexible programs. Unit Testing and Test-Driven Development (TDD) are increa
- Contents:
- About the Author; Contents; Introduction; Chapter 1: A History of Testing; You Do Test, Don't You?; Fundamentals and Best Practices; Summary; Chapter 2: Writing Unit Tests; What Is Unit Testing?; What Should You Test?; Writing Your First Unit Test; Following the PEP-8 Standard; Unit Test Structure; Additional Unit Test Examples; Useful Methods in Unit Testing; Summary; Chapter 3: Utilizing Unit Test Tools; Using Python's Nose; PyTest: An Alternative Test Runner; Mock and Patch Tricky Situations; Summary; Chapter 4: Writing Testable Documentation; Writing Your First Doctest
- Improving Doctests with Nose Integration Summary; Resources; Chapter 5: Driving Your Development with Tests; Agile Development ; Ethos of Test Driven Development; Advantages of Test Driven Development; Ping-Pong Programming; Test Driving Your Problem; Summary; Resources; Chapter 6: Writing Acceptance Tests; What Is Acceptance Testing?; Letting Behavior Drive Your Problem; Advanced Acceptance Test Techniques; Summary; Resources; Chapter 7: Utilizing Acceptance Test Tools; Cucumber: The Acceptance Test Standard; Lettuce in Detail; Robot: An Alternative Test Framework; Summary; Resources
- Chapter 8: Maximizing Your Code's Performance Understanding the Importance of Performance Testing; JMeter and Python; Code Profiling with cProfile; Summary; Resources; Chapter 9: Looking After Your Lint; Coming to Grips with Pylint; Covering All Your Code with Unit Tests; Summary; Resources; Chapter 10: Automating Your Processes; Build Paver Tasks; Setting Up Automated Builds; Summary; Resources; Chapter 11: Deploying Your Application; Deploying Your Application to Production; Smoke Testing a Deployed Application; Summary; Resources; Chapter 12: The Future of Testing Python; Stub the Solution
- Making Deployment Natural Automating (Nearly) Everything; Working in Public; Collaborating on Step Definitions; Final Thoughts; Resources; Index; End User License Agreement
- Notes:
- Description based upon print version of record.
- Includes bibliographical references and index.
- Description based on online resource; title from PDF title page (ebrary, viewed July 16, 2014).
- ISBN:
- 1-5231-1838-5
- 1-118-90125-8
- OCLC:
- 883252177
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.