Skip to main content

Refactoring

  • Chapter
Dive Into Python 3
  • 9396 Accesses

Abstract

Despite your best efforts to write comprehensive unit tests, bugs happen. What do I mean by bug? A bug is a test case you haven’t written yet. There’s a bug in the Roman numeral converter, as shown in Listing 10-1.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Mark Pilgrim

About this chapter

Cite this chapter

Pilgrim, M. (2009). Refactoring. In: Dive Into Python 3. Apress. https://doi.org/10.1007/978-1-4302-2416-7_10

Download citation

Publish with us

Policies and ethics