Testing Python : applying unit testing, TDD, BDD, and acceptance testing /
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 e...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Chichester :
Wiley,
2014.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- 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 IntegrationSummary; 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 PerformanceUnderstanding 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 NaturalAutomating (Nearly) Everything; Working in Public; Collaborating on Step Definitions; Final Thoughts; Resources; Index; End User License Agreement.