Chapter 1: Introduction to PythonThe chapter will introduce readers to the testing concepts and Python 3. Readers will be able to setup the Python 3 environment on their computers. It will also list the differences between Python 2 and Python 3.Chapter 2: Getting StartedThis chapter will be a light and short chapter. It will be very easy to follow. In this chapter, readers will be introduced to hands-on test automation in Python 3.Chapter 3: UnittestThis will be the largest chapter in terms of page count and contents. Readers will be introduced to the unittest framework for test automation. Additionally, it will have detailed explanation for philosophy of xUnit style of frameworks. Readers will learn a particular style of coding which they will follow throughout the book.Chapter 4: Nose and Nose2In this chapter readers will explore nose and nose2. They will also explore few plugins for nose.Chapter 5: PytestIn this chapter, readers will explore pytest, the most recent and arguably the best unit test automation framework for Python 3.Chapter 6: Tips and TricksIn this chapter, readers will be introduced with the concept of TDD in python with Pytest. They will also learn the best practices for the test automation.
Ashwin Pajankar is a Polymath, Programmer, a Maker, an Author, a Youtuber, and a Science Popularizer. He graduated from IIIT Hyderabad with MTech in Computer Science and Engineering. He has keen interest in the promotion of Science, Technology, Engineering, and Mathematics (STEM) education. He has written multiple and published several books.www.ashwinpajankar.com
"It provides a clear introduction to the options available for Python unit test automation, while at the same time introducing many general points about what one needs in a testing framework. For anyone who has begun writing Python programs, but is unsure about how to write automated tests for those programs, this book provides excellent guidance on how to get started." (Computing Reviews, August, 2016)