Gratis Versand in ganz Österreich
Bookbot

Testgetriebene Entwicklung mit Python

Diese Serie befasst sich eingehend mit den Prinzipien und Praktiken der testgetriebenen Entwicklung (TDD). Sie bietet praktische Anleitungen zur Integration von Tests in den gesamten Entwicklungszyklus, vom anfänglichen Entwurf bis zur Bereitstellung. Die Leser lernen, robustere, zuverlässigere und besser wartbare Codes zu erstellen. Es ist eine unschätzbare Ressource für Entwickler, die ihre Fähigkeiten verbessern und Best Practices anwenden möchten.

Test-Driven Development with Python
TDD w praktyce
  • Ta książka to pełny kurs wprowadzający do programowania sterowanego testami w Pythonie, przedstawiający najlepsze praktyki od początku do końca na przykładzie nowoczesnego programowania aplikacji sieciowej. Każdy programista marzy o przejrzystym kodzie w pełni pokrytym testami, ale rzeczywistość często odbiega od ideału. Odpowiedzią na to jest TDD (Test-Driven Development), które pomaga w wytwarzaniu oprogramowania sterowanego testami. W książce znajdziesz odpowiedzi na pytania dotyczące rozpoczęcia stosowania tej techniki. Dowiesz się, jak skonfigurować Django za pomocą testu funkcjonalnego oraz skorzystać z modułu unittest. Zdobędziesz wiedzę na temat testowania widoków, szablonów, adresów URL oraz układów strony i stylów. Poznasz także, jak zapewnić ciągłą integrację z systemem Jenkins oraz najlepsze praktyki w tworzeniu testowalnego kodu. Książka jest idealna dla programistów aplikacji internetowych w Pythonie, pokazując, jak łatwy w utrzymaniu może być Twój kod. Zastosujesz podejście TDD, w tym cykl testów jednostkowych i refaktoryzację. Nauczysz się używać testów jednostkowych oraz funkcjonalnych, a także poznasz techniki automatyzacji wdrożeń i testowania wtyczek firm trzecich.

    TDD w praktyce
  • My main aim is to impart a methodology-a way of doing web development, which I think makes for better web apps and happier developers. There's not much point in a book that just covers material you could find by Googling, so this book isn't a guide to Python syntax, or a tutorial on web development per se. Instead, I hope to teach you how to use TDD to get more reliably to our shared, holy goal: clean code that works. With that said: I will constantly refer to a real practical example, by building a web app from scratch using tools like Django, Selenium, jQuery, and Mock. I'm not assuming any prior knowledge of any of these, so you should come out of the other end of this book with a decent introduction to those tools, as well as the discipline of TDD. In Extreme Programming we always pair-program, so I've imagined writing this book as if I was pairing with my previous self, having to explain how the tools work and answer questions about why we code in this particular way. So, if I ever take a bit of a patronising tone, it's because I'm not all that smart, and I have to be very patient with myself. And if I ever sound defensive, it's because I'm the kind of annoying person that systematically disagrees with whatever anyone else says, so sometimes it takes a lot of justifying to convince myself of anything

    Test-Driven Development with Python