Imad Muratspahic

Test-Driven Development in Python

Unit Tests, Fixtures, Mocks, Red-Green-Refactor and Building Reliable Code Without Slowing Down. Empfohlen von 0 bis 99 Jahre
EAN 9783565978311
Familienlizenz Family Sharing
27,99 €
inkl. MwSt.
77 Seiten
Oktober 2026
neobooks

Tests that arrive after the code break on every refactor, and tests that need a database to check a rounding rule make developers stop running the suite. This book works the other way round. Through one small, fully worked online shop, you practise the red-green-refactor loop in steps that stay small, write unit tests that describe behaviour, and use pytest fixtures and parametrization to remove repetition. You learn when stubs, fakes, spies and mocks fit, how autospec and patching go wrong, and how to design code so that clocks, files, environment variables and logs are easy to control. Later chapters cover keeping the suite fast, adding tests to legacy code, knowing when test-first is not worth it, and building a complete feature from an empty file, with every example run before it was printed.

Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.

Sie können dieses eBook zum Beispiel mit den folgenden Geräten lesen:
• tolino Reader 
Laden Sie das eBook direkt über den Reader-Shop auf dem tolino herunter oder übertragen Sie das eBook auf Ihren tolino mit einer kostenlosen Software wie beispielsweise Adobe Digital Editions. 
• Sony Reader & andere eBook Reader 
Laden Sie das eBook direkt über den Reader-Shop herunter oder übertragen Sie das eBook mit der kostenlosen Software Sony READER FOR PC/Mac oder Adobe Digital Editions auf ein Standard-Lesegeräte. 
• Tablets & Smartphones 
Möchten Sie dieses eBook auf Ihrem Smartphone oder Tablet lesen, finden Sie hier unsere kostenlose Lese-App für iPhone/iPad und Android Smartphone/Tablets. 
• PC & Mac 
Lesen Sie das eBook direkt nach dem Herunterladen mit einer kostenlosen Lesesoftware, beispielsweise Adobe Digital Editions, Sony READER FOR PC/Mac oder direkt über Ihre eBook-Bibliothek in Ihrem Konto unter „Meine eBooks“ -  „Sofort online lesen über Meine Bibliothek“.
 
Bitte beachten Sie, dass die Kindle-Geräte das Format nicht unterstützen und dieses eBook somit nicht auf Kindle-Geräten lesbar ist.

Das könnte Sie auch interessieren

Sofort lieferbar (Download)
€ 9,99
Cory Doctorow
Enshittification
eBook (epub)
Sofort lieferbar (Download)
€ 16,99
Sofort lieferbar (Download)
€ 0,00
Yuval Noah Harari
NEXUS
eBook (epub)
Sofort lieferbar (Download)
€ 26,99
Sarah Wynn-Williams
Mein Traumjob bei Facebook und wie ich alle...
eBook (epub)
Sofort lieferbar (Download)
€ 14,99
Simon Strick
Faschisierung
eBook (epub)
Sofort lieferbar (Download)
€ 19,99
Anton Ochsenkühn
Mein erstes iPhone
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Maximilian Kasy
Die Mittel der Prädiktion
eBook (epub)
Sofort lieferbar (Download)
€ 25,99
Neal Stephenson
Snow Crash
eBook (epub)
Sofort lieferbar (Download)
€ 14,99
Roberto Simanowski
Sprachmaschinen
eBook (epub)
Sofort lieferbar (Download)
€ 19,99
Katharina Zweig
Weiß die KI, dass sie nichts weiß?
eBook (epub)
Sofort lieferbar (Download)
€ 16,99
Marc Elsberg
ZERO - Sie wissen, was du tust
eBook (epub)
Sofort lieferbar (Download)
€ 10,99
Mads Pankow
Die wahrscheinliche Wahrheit
eBook (epub)
Sofort lieferbar (Download)
€ 19,99
Michael Kofler
Linux
eBook (pdf)
Sofort lieferbar (Download)
€ 49,90
Ernest Cline
Ready Player One
eBook (epub)
Sofort lieferbar (Download)
€ 8,99
Florian Dalwigk
Cyberspionage
eBook (epub)
Sofort lieferbar (Download)
€ 29,90
Cory Doctorow
Wie man einen Toaster überlistet
eBook (epub)
Sofort lieferbar (Download)
€ 14,99
Sofort lieferbar (Download)
€ 9,99
Sofort lieferbar (Download)
€ 0,00
Dirk Becker
Einstieg in Linux Mint 22
eBook (epub)
Sofort lieferbar (Download)
€ 29,90
Robert Gödl
Linux intern verstehen
eBook (epub)
Sofort lieferbar (Download)
€ 35,99
Albrecht Beutelspacher
Geheimsprachen und Kryptographie
eBook (epub)
Sofort lieferbar (Download)
€ 9,99
Andrian Kreye
Der Geist aus der Maschine
eBook (epub)
Sofort lieferbar (Download)
€ 19,99
Ben Aaronovitch
Ein weißer Schwan in Tabernacle Street
eBook (epub)
Sofort lieferbar (Download)
€ 9,99
Jürgen Wolf
HTML und CSS
eBook (epub)
Sofort lieferbar (Download)
€ 49,90
Tiago Forte
Die PARA-Methode
eBook (epub)
Sofort lieferbar (Download)
€ 15,99
Andreas Erle
Das kann KI
eBook (pdf)
Sofort lieferbar (Download)
€ 16,99
Carissa Véliz
Die Macht der Prophezeiung
eBook (epub)
Sofort lieferbar (Download)
€ 25,99
Kevin D. Mitnick
Die Kunst der Täuschung
eBook (epub)
Sofort lieferbar (Download)
€ 9,99
Sofort lieferbar (Download)
€ 9,99
Ulrich Engelke
ChatGPT & Co. in der Schule
eBook (epub)
Sofort lieferbar (Download)
€ 27,99
Sofort lieferbar (Download)
€ 12,99
Mike Rohde
Das Sketchnote Handbuch
eBook (pdf)
Sofort lieferbar (Download)
€ 9,99
Sofort lieferbar (Download)
€ 9,99
Otto N. Bretzinger
Digital vorsorgen
eBook (epub)
Sofort lieferbar (Download)
€ 18,99
Robert Gödl
Debian GNU/Linux 13
eBook (epub)
Sofort lieferbar (Download)
€ 35,99