Важное объявление!
У Нас Все раздачи мультитрекерные, при нуле пиров в релизах, можете смело вставать на закачку!
Статистика раздачи
Размер:     |    Зарегистрирован:     |    Скачан:     |   
Нет
 
     
 
 
Автор Сообщение

HUNTER

Стаж:
5 лет 1 месяц
Сообщений:
68449

Репутация: 101

[+] [-]
Вне форума [Профиль] [ЛС]

Learning Backbone.js Testing
Год выпуска: 2015
Производитель: Packt Publishing
Сайт производителя: packtpub.com
Автор: Jonathan Freeman
Продолжительность: 1:48
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: The dynamic nature and flexibility of JavaScript and Backbone.js includes many ways of expressing ideas. Such liberty gives way to certain risks that aren’t as prominent in strongly typed languages and highly opinionated libraries and frameworks. Learning how to mitigate these risks is a crucial step to writing smarter software, and smarter software makes for happy developers!
Learning Backbone.js Testing will bootstrap you into a world of JavaScript testing and provide you with fundamental experience in writing tests. By understanding and becoming comfortable in testing Backbone.js applications, you can increase your productivity, code quality, and design skills.
At the beginning, we’ll discuss different testing philosophies and go over some testing basics. After establishing a motivation for and philosophy of testing, we’re going to dive right into how we express our tests in Jasmine’s BDD syntax. We’ll also hone in on how to deal with the DOM and AJAX in our tests.
Once you learn some syntax and apply it to plain JavaScript and Backbone.js code, we’re going to run into the problem of manual testing practices. We’ll discuss and incorporate a tool that will automate our tests and make testing considerably more streamlined using Karma. From there, you’ll learn to apply testing techniques and tools such as fixtures and spies. This course will jump-start your automated testing experience and you’ll be writing robust tests for everyday objects!

Содержание

Getting Started with Testing
The Course Overview
Testing and Why It’s Used
Understanding TDD versus BDD
Investigating Our Toolshed
Understanding Jasmine
Introducing Jasmine
Making Our Way Through the Syntax
Writing a Simple Test
Hands-on Challenge – Adding to Our getNthElement Function
Using Backbone.js in Jasmine Tests
Testing Models
Cooking Up a Model
Testing Instantiation and Defaults
Taking Care of Dietary Restrictions
Introducing Fixtures
Hands-on Challenge – Refactoring to Use Fixtures
Automating the Process
Embracing Laziness
Installing Karma
Running Karma in Browsers
Making Our Tests Work with Karma
Depending on AJAX
Collecting Our Recipes
Hands-on Challenge – Getting All the Variations
Mocking AJAX with Sinon.js
Setting Up a Mock Backend Server
Testing Views
Setting Up Our Views
Templating and DOM Expectations
Rendering Our View
Taking Notes
Hands-on Challenge – Adding Recipes
Testing Routers
Unit Testing Routers
Introducing Spies
Writing Our First Router Test
Hands-on Challenge – Routing Recipe Variations
Файлы примеров: отсутствуют
Формат видео: MP4
Видео: AVC, 1280x720, 16:9, 25fps, 461kbps
Аудио: AAC, 44.1kHz, 128kbps, stereo

Скриншоты


_________________
Показать сообщения:    

Текущее время: Сегодня 04:43

Часовой пояс: GMT



Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете голосовать в опросах
Вы не можете прикреплять файлы к сообщениям
Вы не можете скачивать файлы