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.

您要培养的技能

  • Unit Testing
  • Django (Web Framework)
  • Python Programming
  • Object-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

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心