登入帳戶  | 訂單查詢  | 購物車/收銀台( 0 ) | 在線留言板  | 付款方式  | 運費計算  | 聯絡我們  | 幫助中心 |  加入書簽
會員登入 新用戶登記
HOME新書上架暢銷書架好書推介特價區會員書架精選月讀2023年度TOP分類瀏覽雜誌 臺灣用戶
品種:超過100萬種各類書籍/音像和精品,正品正價,放心網購,悭钱省心 服務:香港台灣澳門海外 送貨:速遞郵局服務站

新書上架簡體書 繁體書
暢銷書架簡體書 繁體書
好書推介簡體書 繁體書

四月出版:大陸書 台灣書
三月出版:大陸書 台灣書
二月出版:大陸書 台灣書
一月出版:大陸書 台灣書
12月出版:大陸書 台灣書
11月出版:大陸書 台灣書
十月出版:大陸書 台灣書
九月出版:大陸書 台灣書
八月出版:大陸書 台灣書
七月出版:大陸書 台灣書
六月出版:大陸書 台灣書
五月出版:大陸書 台灣書
四月出版:大陸書 台灣書
三月出版:大陸書 台灣書
二月出版:大陸書 台灣書

『簡體書』Python测试驱动开发(影印版)

書城自編碼: 2662944
分類:簡體書→大陸圖書→計算機/網絡程序設計
作者: [美]珀西瓦尔 著
國際書號(ISBN): 9787564159153
出版社: 东南大学出版社
出版日期: 2015-09-01

頁數/字數: 463页
書度/開本: 16开 釘裝: 平装

售價:HK$ 164.7

我要買

 

** 我創建的書架 **
未登入.


新書推薦:
犯罪心理X档案:法医精神科医生真实办案手记(第一季)法医精神科医师心理解剖手记
《 犯罪心理X档案:法医精神科医生真实办案手记(第一季)法医精神科医师心理解剖手记 》

售價:HK$ 57.6
台湾农业产业发展研究
《 台湾农业产业发展研究 》

售價:HK$ 117.6
流风回雪:六朝名士的庙堂与山林(论衡系列)
《 流风回雪:六朝名士的庙堂与山林(论衡系列) 》

售價:HK$ 81.6
妈妈,我想为自己而活
《 妈妈,我想为自己而活 》

售價:HK$ 69.6
再造大唐:郭子仪评传
《 再造大唐:郭子仪评传 》

售價:HK$ 93.6
人性的博弈:为什么做个好人这么难
《 人性的博弈:为什么做个好人这么难 》

售價:HK$ 81.6
不完美的自我:接纳与放手,让自己活得更有韧性
《 不完美的自我:接纳与放手,让自己活得更有韧性 》

售價:HK$ 70.8
苏菲的世界(漫画版):寻找自我的旅程
《 苏菲的世界(漫画版):寻找自我的旅程 》

售價:HK$ 94.8

 

建議一齊購買:

+

HK$ 96.2
《 学习Scala(影印版) 》
+

HK$ 114.7
《 Effective Modern C++:改善C++11和C++14的42个具体做法(影印版) 》
+

HK$ 183.2
《 Python Web开发 测试驱动方法 》
+

HK$ 72.2
《 函数式编程思想(影印版) 》
+

HK$ 144.3
《 高性能Python(影印版) 》
+

HK$ 196.1
《 Python数据分析(影印版) 》
內容簡介:
珀西瓦尔编*的《Python测试驱动开发(影印版)(英文版)》这本实用指南带你从头至尾经历一个真实Web应用开发的全过程,展示了Python测试驱动开发(TDD)的优越性。你将学到如何在应用程序各部分被构建出来之前就编写并运行测试,然后开发* 少量的代码就让这些测试运行通过。结果得到什么?能够运行的简洁代码。
在书中,你将学到Diango、Selenium、git、 iQuery和Mock的基础知识,另外还有现代Web开发技巧。如果你准备将自己的Python技术提升到下一个层次,这本书清楚地展示了测试驱动开发是如何提倡简单设计并增进信心。
深入测试驱动开发工作流,包括单元测试/编码周期循环和重构 为类和函数使用单元测试,并为浏览器内的用户交互使用功能测试 学习何时与如何运用mock对象,以及单独和集成测试的优缺点 在开发用服务器上测试以及自动化部署 将测试运用到网站集成的第三方插件上去 使用一个持续集成环境来自动运行测试
目錄
Preface
Prerequisites and Assumptions
Companion Video
Acknowledgments
Part I. The Basics of TDD and Django
1. 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
2. Extending Our Functional Test Using the unittest Module
Using a Functional Test to Scope Out a Minimum Viable App
The Python Standard Library''s unittest Module
Implicit waits
Commit
3. 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
The Unit-TestCode Cycle
4. What Are We Doing with All These Tests?
Programming Is like Pulling a Bucket of Water up from a Well
Using Selenium to Test User Interactions
The "Don''t Test Constants" Rule, and Templates to the Rescue
Refactoring to Use a Template
On Refactoring
A Little More of Our Front Page
Recap: The TDD Process
S. Saving User Input
Wiring Up Our Form to Send a POST Request
Processing a POST Request on the Server
Passing Python Variables to Be Rendered in the Template
Three Strikes and Refactor
The Django ORM and Our First Model
Our First Database Migration
The Test Gets Surprisingly Far
A New Field Means a New Migration
Saving the POST to the Database
Redirect After a POST
Better Unit Testing Practice: Each Test Should Test One Thing
Rendering Items in the Template
Creating Our Production Database with migrate
6. Getting to the Minimum Viable Site
Ensuring Test Isolation in Functional Tests
Running lust the Unit Tests
Small Design When Necessary
YAGNI!
REST
Implementing the New Design Using TDD
Iterating Towards the New Design
Testing Views, Templates, and URLs Together with the Django Test Client
A New Test Class
A New URL
A New View Function
A Separate Template for Viewing Lists
Another URL and View for Adding List Items
A Test Class for New List Creation
A URL and View for New List Creation
Removing Now-Redundant Code and Tests
Pointing Our Forms at the New URL
Adjusting Our Models
A Foreign Key Relationship
Adjusting the Rest of the World to Our New Models
Each List Should Have Its Own URL
Capturing Parameters from URLs
Adjusting new_list to the New World
One More View to Handle Adding Items to an Existing List
Beware of Greedy Regular Expressions!
The Last New URL
The Last New View
But How to Use That URL in the Form?
A Final Refactor Using URL includes
Part II. Web Development Sine Qua Nons
7. Prettification: Layout and Styling, and What to Test About It
8. Testing Deployment Using a Staging Site.
9. Automating Deployment with Fabric
10. Input Validation and Test Organisation
11. A Simple Form
12. More Advanced Forms
13. Dipping Our Toes, Very Tentatively, into JavaScript
14. Deploying Our New Code
Part III. More Advanced Topics
15. User Authentication, Integrating Third-Party Plugins, and Mocking with JavaScript.
16. Server-Side Authentication and Mocking in Python
17. Test Fixtures, Logging, and Server-Side Debugging
18. Finishing "My Lists": Outside-In TDD
19. Test Isolation, and "Listening to Your Tests".
20. Continuous Inteoration (CI)
21. The Token Social Bit, the Page Pattern, and an Exercise for the Reader
22. Fast Tests, Slow Tests, and Hot Lava..
Obey the Testing Goat!
A. PythonAnywhere
B. Django Class-Based Views
C. Provisioning with Ansible
D. Testing Database Migrations
E. Behaviour-Driven Development (BDD)
F. Cheat Sheet
G. What to Do Next
H. Bibliography
Index

 

 

書城介紹  | 合作申請 | 索要書目  | 新手入門 | 聯絡方式  | 幫助中心 | 找書說明  | 送貨方式 | 付款方式 香港用户  | 台灣用户 | 大陸用户 | 海外用户
megBook.com.hk
Copyright © 2013 - 2024 (香港)大書城有限公司  All Rights Reserved.