- Clearly defines testing fundamentals and best practices
- Provides comprehensive overview of unit testing methods
- Explains how to implement Test Driven Development
- Covers acceptance testing and tools needed to perform acceptance tests
Apply Acceptance Testing, Test-Driven Development, Unit Testing, and Behavior-Driven Development to Python
Unit testing and test-driven development (TDD) are increasingly must-have skills for software developers, no matter what language they work in. In enterprise settings, it’s critical for developers to ensure they always have working code, and that’s what makes testing methodologies so attractive. More recently, behavior-driven development (BDD) has taken testing to a new level, and this book will introduce you to the practice and tools to take up this exciting modern style of testing your software. This book will teach you the most widely used testing strategies and will introduce to you to still others, covering performance testing, continuous testing, and more. Learn to:
- Get your hands dirty with the basic building blocks in testing: unit tests
- Effectively embed unit tests in your doc strings and have them run as tests
- Adopt the concepts and ethos of test-driven development (TDD)
- Deploy smoke testing and get to grips with Pylint
- Write and undertake acceptance testing with Cucumber, Lettuce, and Robot
- Analyse and find problem areas within your code using JMeter and cProfile
- Successfully implement continuous integration