Apply advanced testing for your Django web application

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

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
AdvancedAvanzado
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

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.

Habilidades que desarrollarás

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

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  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

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.