Apply basic testing for your Django web application

提供方
Coursera Project Network
在此免費的指導 項目中,您將:

Learn how to test the various components of a Django app

Learn how to synchronize development and testing

Practice improving your code based on the results of the tests

在面試中展現此實踐經驗

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

In this 2-hour long project-based course, you will learn how Django's rich testing framework work, and how to use it to test your web apps. You will create a simple Django project with two apps, and you will create test methods to cover model and view methods. Using the Client object, you will write code that virtually interact with your form. You will run the tests and improve your code based on the results of the tests. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

必備條件

Basic experience in developing Django web applications and python unit testing

您要培養的技能

Unit TestingDjango (Web Framework)Python ProgrammingObject-Oriented Programming (OOP)

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Create the POS Django project and its apps, and set it up for testing

  2. Test the model methods

  3. Test the transaction app view

  4. Test the report app view

  5. Test the form

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心