วันจันทร์ที่ 2 กุมภาพันธ์ พ.ศ. 2558

Test-Driven Development with Python Chapter 2

Extending Our Functional Test Using the unittest Module

Using a Functional Test to Scope Out a Minimum Viable App

 -แก้ไขไฟล์ functional_test.py
   

 -Run Server และ Run code โดยใช้คำสั่ง  
 python3 manage.py runserver และ  python3 functional_tests.py (ใช้ 2 terminal)
 จะได้ดังนี้


 -git diff (กด q เพื่อออก )
 -git commit -a

ไม่มีความคิดเห็น:

แสดงความคิดเห็น