Skip to main content

Tips and Tricks

  • Chapter
  • First Online:
  • 4499 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Ashwin Pajankar

About this chapter

Cite this chapter

Pajankar, A. (2017). Tips and Tricks. In: Python Unit Test Automation . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2677-3_6

Download citation

Publish with us

Policies and ethics