Gå direkte til innholdet
Test-Driven Development with Python
Test-Driven Development with Python
Spar

Test-Driven Development with Python

Forfatter:
Engelsk
Les i Adobe DRM-kompatibelt e-bokleserDenne e-boka er kopibeskyttet med Adobe DRM som påvirker hvor du kan lese den. Les mer
The third edition of this trusted guide shows you how to apply test-driven development (TDD) to building real-world web applications with Python. By writing tests before building each part of your appand then creating just enough code to pass themyou'll learn how TDD leads to clean, reliable, and maintainable software. Author Harry J.W. Percival takes you through a practical, end-to-end example of web development using Python 3.14 and Django 5. Along the way, you'll explore tools like Selenium, JavaScript, Git, and mocking, and discover how TDD supports better design decisions, encourages continuous improvement, and instills confidence in your codebase. Whether you're a professional developer or just transitioning into web development, this book offers hands-on experience with modern testing workflows and architecture. Follow the full TDD workflow, from writing tests first to refactoring with confidenceWrite unit tests for core logic and functional tests for browser-based interactionsUse mock objects to isolate external systems and simplify integrationPackage your application using DockerAutomate deployments and test your code in a staging environmentValidate third-party plug-ins and dependencies within your test suiteSet up continuous integration to run your tests automaticallyEnrich your frontend with test-driven JavaScript
Undertittel
Obey the Testing Goat: Using Django, Selenium, and JavaScript
ISBN
9781098148683
Språk
Engelsk
Utgivelsesdato
30.10.2025
Tilgjengelige elektroniske format
  • PDF - Adobe DRM
Les e-boka her
  • E-bokleser i mobil/nettbrett
  • Lesebrett
  • Datamaskin