Apply advanced testing for your Django web application

제공자:
Coursera Project Network
학습자는 이 안내 프로젝트에서 다음을 수행하게 됩니다.

efficiently preload data for testing in Django using fixutres

customize project settings during a test

examine the HTTPResponse object using assert methods and the Beautiful Soup library

Clock2 hours
Advanced고등
Cloud다운로드 필요 없음
Video분할 화면 동영상
Comment Dots영어
Laptop데스크톱 전용

In this 1-hour long project-based course, you will learn some of the advanced features of Django testing framework. For a given sample Django project, you will learn how to feed the testing database with data using fixtures. You will use different methods to customize the project-wide settings during a test. You will learn how to test form submission, and understand how to test the response object for strings. In particular, you will use the Beautiful Soup python library to test the response object for the presence of HTML tags. Finally, you will learn how to instruct Django to skip 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.

개발할 기술

  • Web Testing
  • Django development
  • Beautiful Soup
  • Python Programming
  • Django Testing

단계별 학습

작업 영역이 있는 분할 화면으로 재생되는 동영상에서 강사는 다음을 단계별로 안내합니다.

  1. Understand the sample project and install Beautiful Soup

  2. Navigate the sample project and setup the test data using fixtures

  3. Override your Django project settings during the test

  4. Test form submission

  5. Test the HTTPResponse object for containing strings

  6. Perform tests on HTML strings using Beautiful Soup

  7. Instruct Django to skip tests

안내형 프로젝트 진행 방식

작업 영역은 브라우저에 바로 로드되는 클라우드 데스크톱으로, 다운로드할 필요가 없습니다.

분할 화면 동영상에서 강사가 프로젝트를 단계별로 안내해 줍니다.

자주 묻는 질문

자주 묻는 질문

궁금한 점이 더 있으신가요? 학습자 도움말 센터를 방문해 보세요.