Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть 21 - Run Functional Tests on API Response using Chai-HTTP III - PUT method - freeCodeCamp Tutorial

  • Ganesh H
  • 2020-07-27
  • 1213
21 - Run Functional Tests on API Response using Chai-HTTP III - PUT method - freeCodeCamp Tutorial
  • ok logo

Скачать 21 - Run Functional Tests on API Response using Chai-HTTP III - PUT method - freeCodeCamp Tutorial бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно 21 - Run Functional Tests on API Response using Chai-HTTP III - PUT method - freeCodeCamp Tutorial или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку 21 - Run Functional Tests on API Response using Chai-HTTP III - PUT method - freeCodeCamp Tutorial бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео 21 - Run Functional Tests on API Response using Chai-HTTP III - PUT method - freeCodeCamp Tutorial

Let's see how to use Chai to test POST/PUT request. We need to take an extra step here, and call the send() method, with an object specifiying the request body.

Link to Challenge : https://www.freecodecamp.org/learn/qu...
Written Guide: https://www.notion.so/ganeshh123/Run-...

Full Playlist for this course :    • Quality Assurance and Testing with Chai - ...  
All Writen Guides for this course : https://www.notion.so/ganeshh123/54ec...
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganes...

00:00 - Introduction
00:06 - How the form works
02:05 - Challenge Solution

Concepts:
chai.send()
Can give an object here to add fields into the request body.
https://www.npmjs.com/package/chai-ht...

chai.request()
When passing an app to request; it will automatically open the server for incoming requests (by calling listen()) and, once a request has been made the server will automatically shut down (by calling .close()).
https://www.npmjs.com/package/chai-ht...

chai.end()
To make the request and assert on its response, the end method can be used.
https://www.chaijs.com/plugins/chai-h...

assert.equal()
Asserts non-strict equality (==) of actual and expected.
https://www.chaijs.com/api/assert/#me...

————————————————————————————————————
Chai is an assertion library, similar to Node's built-in assert. It makes testing much easier by giving you lots of assertions you can run against your code.

freeCodeCamp (also referred to as “Free Code Camp”) is a non-profit organization that consists of an interactive learning web platform, an online community forum, chat rooms, online publications and local organizations that intend to make learning web development accessible to anyone. Beginning with tutorials that introduce students to HTML, CSS and JavaScript, students progress to project assignments that they complete either alone or in pairs. Upon completion of all project tasks, students are partnered with other nonprofits to build web applications, giving the students practical development experience.

Thanks for Watching!

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]