وبلاگ بلیان

Test-Driven Development with Python: Early Release

معرفی کتاب «Test-Driven Development with Python: Early Release» نوشتهٔ Percival, Harry، منتشرشده توسط نشر O'Reilly Media در سال 2014. این کتاب در 54 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «Test-Driven Development with Python: Early Release» در دستهٔ بدون دسته‌بندی قرار دارد.

O’Reilly Media, 2013– 54 p. – ISBN: 1449367798, 9781449367794 With Early Release ebooks, you get books in their earliest form — the author's raw and unedited content as he or she writes — so you can take advantage of these technologies long before the official release of these titlesYou'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundleThis version of the early release has 4/27 chs and an appendix. "Test-Driven Development with Python" focuses on web development, with some coverage of JavaScript (inescapable for any web programmer). This book uses a concrete example - the development of a web site, from scratch - to teach the TDD metholology, and how it applies to web programming, from the basics of database integration and javascript, going via browser-automation tools like Selenium, to advanced (and trendy) topics like NoSQL, websockets and Async programming. Contents: Preface. Getting Django set up using a Functional Test . Obey the Testing Goat: Do nothing until you have a test Getting Django up and running Starting a Git repository Extending our FT using the unittest module. Using the FT to scope out a minimum viable app The Python standard library’s unittest module Testing a simple home page with unit tests. Our first Django app, and our first unit test Unit tests, and how they differ from Functional tests Unit testing in Django Django’s MVC, URLs and view functions At last! We actually write some application code! urls.py Unit testing a view What are we doing with all these tests?. A moment’s reflection - what are we up to? Using Selenium to test user interactions The Don’t test constants rule, and templates to the rescue On refactoring A little more of our front page A Python Anywhere. Bibliography By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You’ll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The result? Clean code that works.In the process, you’ll learn the basics of Django, Selenium, Git, jQuery, and Mock, along with current web development techniques. If you’re ready to take your Python skills to the next level, this book clearly demonstrates how TDD encourages simple designs and inspires confidence.Dive into the TDD workflow, including the unit test/code cycle and refactoringUse unit tests for classes and functions, and functional tests for user interactions within the browserLearn when and how to use mock objects, and the pros and cons of isolated vs. integrated testsTest and automate your deployments with a staging serverApply tests to the third-party plugins you integrate into your siteUse a Continuous Integration environment to run your tests automatically By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. Youll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The result? Clean code that works. In the process, youll learn the basics of Django, Selenium, Git, jQuery, and Mock, along with current web development techniques. If youre ready to take your Python skills to the next level, this book clearly demonstrates how TDD encourages simple designs and inspires confidence. By taking you through the development of a web application from beginning to end, this book demonstrates the practical advantages of test-driven development with Python. You'll learn everything from the basics of database integration and the use of JavaScript to browser-automation tools like Selenium, and advanced topics such as NoSQL, Web Sockets, and async programming. Ideal for beginners, this book teaches a development methodology that leads to peace of mind, cleaner code, and better web apps Printing History August 2017: Second Edition 2017-08-02: First Release 2018-03-02: Second Release
دانلود کتاب Test-Driven Development with Python: Early Release