© Ashwin Pajankar 2017
Ashwin PajankarPython Unit Test Automation 10.1007/978-1-4842-2677-3_6

6. Tips and Tricks

Ashwin Pajankar
(1)
Nashik, Maharashtra, India
 
In the first chapter of the book, you about learned the history and philosophy of Python. Subsequent chapters explored the features of various test automation frameworks in Python. The frameworks you explored included doctest , unittest , nose , nose2 , and pytest. This chapter looks at coding conventions that will make the test discovery easier across the frameworks. Then, we will look at the concept of test-driven development and how it can be implemented in Python 3 projects with the help of pytest.

Coding and Filenaming Conventions for Easier Test Discovery

You have seen that all the

Get Python Unit Test Automation: Practical Techniques for Python Developers and Testers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.