ExtraTorrent.st - The Largest Bittorent System
Latest Articles
Most searched
ExtraTorrent.st > Categories > Other torrents


Browse Other torrents

Testing Practices and Principles [2018, ENG] React Jest torrent


Download torrent: Magnet link
Info hash: 556D86A17A5D81169A1EB8FAA9AC9DD308DE395E
Category: Categories > Other torrents
Trackers:
http://bt2.t-ru.org/ann?magnet
http://bt1.t-ru.org/ann
http://bt2.t-ru.org/ann
http://bt4.t-ru.org/ann
udp://tracker.opentrackr.org:1337
udp://open.stealth.si:80/announce
udp://tracker.torrent.eu.org:451/announce
udp://exodus.desync.com:6969
udp://open.demonii.com:1337/announce
udp://tracker.coppersurfer.tk:6969
udp://p4p.arenabg.com:1337
udp://tracker.internetwarriors.net:1337
Health:
 seeds: 4, leechers: 2
Torrent language:  
Total Size: 1.06 GB
Number of files:
30   
Uploader:
iamalaska
Torrent added:2018-09-15 09:00:00

Download Testing Practices and Principles [2018, ENG] React Jest torrent




Torrent Description
Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)

Testing Practices and Principles

Год выпуска: 2018
Производитель: frontendmasters.com
Сайт производителя: https://frontendmasters.com/courses/testing-practices-principles/
Автор: Kent C. Dodds
Продолжительность: 3 hours, 39 min
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: Learn the principles and best practices for writing maintainable test applications to catch errors before your product reaches the end user! Follow along with Kent C. Dodds and learn the fundamentals behind tests and testing frameworks, the distinctions of different forms of testing and when to use them appropriately to ensure your tests give you the confidence you need. You will also learn to write unit and integration tests with the popular Jest testing framework, mock dependencies, and use test-driven development to write new features and help find bugs! https://github.com/kentcdodds/testing-workshop
[spoiler="Содержание"]
Table of Contents
Intro to Testing
Introduction
00:00:00 - 00:08:26
Introduction
Kent C. Dodds introduces the course as a primer for testing and testing frameworks so that students gain confidence in testing, and the ability to write tests that are maintainable. Ken also covers cloning the git repository and sets the routine for the course. - https://github.com/kentcdodds/testing-workshop
Automated Testing
00:08:27 - 00:16:25
Automated Testing
Kent introduces some common bugs, what is generally done about these bugs, and gives an introduction to tests, with examples on what static, unit, integration, and a look of E2E tests.
Your First Test Exercise
00:16:26 - 00:18:45
Your First Test Exercise
Kent reviews the first exercise where the audience is instructed to access the GitHub repository that was previously cloned and to write a simple test in pure JavaScript that reveals the bug and throws an error.
Your First Test Solution
00:18:46 - 00:21:47
Your First Test Solution
After walking through the solution to the Your First Test Exercise, Kent provides instructions for the next exercise, which is about writing a simple assertion library.
Coding an Assertion Library
00:21:48 - 00:25:59
Coding an Assertion Library
Kent writes the solution to the assertion library exercise in pure JavaScript and goes over critical issues revealed in the exercises and instructs the audience to continue to the next exercise.
Coding a Testing Framework
00:26:00 - 00:31:34
Coding a Testing Framework
After coding a simple testing framework from scratch in pure JavaScript, Kent introduces Jest as an example of how a testing framework can increase the productivity of the user. - (review - approach to tech issue)
Unit Tests
Jest Testing Framework
00:31:35 - 00:39:05
Jest Testing Framework
Kent provides an overview of Jest's assertion methods.
Course Code Walkthrough
00:39:06 - 00:45:09
Course Code Walkthrough
Kent reviews Jest and demonstrates watch mode on files in the repository. - (review - approach to tech issue)
Unit Test Demo
00:45:10 - 00:53:18
Unit Test Demo
Kent demonstrates how to write a pure function with Jest and introduces test-driven development.
Writing a Basic Unit Test Exercise
00:53:19 - 00:53:58
Writing a Basic Unit Test Exercise
Kent introduces the userToJson exercise, which is a practical look at testing a JavaScript utility function.
Writing a Basic Unit Test Solution
00:53:59 - 00:59:47
Writing a Basic Unit Test Solution
Kent walks through the userToJson exercise in multiple ways and teaches how to use your test code to communicate intent.
Test Factories & Colocating Tests Q&A
00:59:48 - 01:16:27
Test Factories & Colocating Tests Q&A
Kent fields a question that segues into test factories, describe blocks, colocating tests, Jest globals, other tools to use in addition to Jest, and other topics.
Code Coverage
01:16:28 - 01:30:45
Code Coverage
After introducing code coverage reports, which are a way to see what code is covered by your tests, Kent reviews its benefits as well as addressing the pitfalls of misinterpreting the data or misusing the feature.
Mocks
Monkey Patch a Mock Exercise
01:30:46 - 01:34:11
Monkey Patch a Mock Exercise
After explaining mocking, Kent introduces the exercise where the goal is to create a mock for a dependency in a test. The simplest form of mocking a function in a module is by using monkey patching to swap the actual implementation with a fake implementation.
Monkey Path a Mock Solution
01:34:12 - 01:39:18
Monkey Path a Mock Solution
Kent codes the solution to the previous exercise by monkey patching a fake implementation of the getWinner function so that a more specific assertion can be made.
Asserting Calling a Mock Exercise
01:39:19 - 01:40:49
Asserting Calling a Mock Exercise
In this exercise, students are to gain more confidence out of a mock by asserting that it is being called in the way that is expected.
Asserting Calling a Mock Solution
01:40:50 - 01:45:09
Asserting Calling a Mock Solution
After coding the solution for the mock function to keep track of how it is called and to add an assertion for it, Kent introduces the next exercise with the goal of implementing jest.spyOn. - (review - approach to tech issue)
Using Jest spyOn
01:45:10 - 01:48:28
Using Jest spyOn
Kent codes the solution to Jest spyOn, which allows the user to keep track of when existing functions are called and mock their implementations.
Using Jest Mock
01:48:29 - 02:04:30
Using Jest Mock
Kent codes the solution using jest.mock, which allows the user to mock an entire module to avoid monkey patching module exports. Then Kent demonstrates another exercise that allows the user to apply the mock in almost all of the tests, rather than having it isolated.
Jest Q&A
02:04:31 - 02:07:11
Jest Q&A
While answering a student question about the appropriateness to mock an API when the actual API is still in development, Kent is lead to the topic of discussing whether to use dependency injection or mocking.
Using a __mocks__ directory
02:07:12 - 02:16:37
Using a __mocks__ directory
Kent walks through a test from scratch that tests the user's module. Then Kent shows the importance of being explicit in tests and discusses edge cases for this implementation. - this was highlighted in red
More Mocking with Users
02:16:38 - 02:19:11
More Mocking with Users
Kent reviews an example of how to construct a test that ensures the users being retrieved from a database are what is expected.
Testing Practices
Unit Tests for Express Middleware
02:19:12 - 02:20:05
Unit Tests for Express Middleware
To test Express middleware that interacts with the database, Kent shows that one can either mock or initialize the database. In this demonstration, Kent initializes the database and asserts that the endpoints are returning the correct items from the database.
Unit Tests for Express Middleware Solution
02:20:06 - 02:24:34
Unit Tests for Express Middleware Solution
Kent live codes the solution to the Unit Tests for Express Middleware exercise, where the test checks that all posts are returning from the database, the specific post is being returned, and updatePost updates the correct post with the given changes.
Test Object Factories
02:24:35 - 02:36:37
Test Object Factories
After demonstrating how object factories are constructed, using a previous example as scaffolding, Kent gives reviews test-cleanup.
Test-Driven Development
02:36:38 - 02:47:18
Test-Driven Development
Kent begins the section by introducing an exercise with the instructions to implement a delete function using test driven development (TDD). He then goes into further detail by outlining of the process of TDD, and in what use cases that it's a good idea to implement the practice.
Test-Driven Development Solution
02:47:19 - 03:09:02
Test-Driven Development Solution
The solution to the exercise introduced at the beginning of Test Driven Development is live-coded.
Integration Tests
Basic Integration Test for a Node Server
03:09:03 - 03:30:22
Basic Integration Test for a Node Server
Kent codes an integration test for a node server noting differences when testing on the server, such as the need to stop the server after the tests are completed. Then Kent introduces a tool to help write these tests called Axios, a promise based HTTP client.
Wrapping Up
Additional Resources and Q&A
03:30:23 - 03:39:38
Additional Resources and Q&A
Kent wraps up the course by reviewing additional learning materials testing, and answers student questions about the page objects pattern and tests as documentation.
[/spoiler]
Файлы примеров: присутствуют
Видео: H264, 1920x1080, 16:9, 29.97 fps, avg 800 kb/s
Аудио: AAC, 48kHz, 127, stereo
[spoiler="Скриншоты"]

[/spoiler]

Download Testing Practices and Principles [2018, ENG] React Jest torrent


Related Torrents

Added  Size  S  L  Health
Download Magnet link   Unit Testing Principles, Practices, and Patterns in Other , by
tutsnode
5y 1.20 GB 0 0
Download Magnet link   [FrontendMasters] Testing Practices and Principles in Other , by
CourseClub
7y 1.10 GB 12 3




Home - Browse Torrents
ExtraTorrent.st is in compliance with copyrights
2025 ExtraTorrent.st