ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Unit Testing & Mocks Fakes and Stubs - No Code Learning

Автор: The Theory Of Code

Загружено: 2025-02-14

Просмотров: 645

Описание: Sometime some of the simplest possible things when ignored, can cause major problem and unit testing in software development is one such thing.

Many a times we don't understand the concept and rationale behind unit testing hence I'm creating this video to explain the concept and idea behind unit testing as well as why we need thing like mocks fakes and stubs whcih are collectively called test doubles in the world of unit testing.

All unit tests are written using arrange act assert and has to be independent and should be able to complete its running within milliseconds. The unit tests not only builds up the functional based but also build up a regression test suite over a period of time.

The reason why unit testing is done because we can't ascetain the quality of tests by looking. at it, because software is not a physical entity, that's why we need unit testing becasue there is no other way to ascetain the quality of the software but by using unit tests.

The test doubles like mocks fakes and stubs are there to remove the dependecies between the software so that a unit of code can be tested in isolation. While mocks are used for checking the system behaviour, stubs are used for generating predefined outputs. Fakes are similar to a simulator and can simulate functional as well as non functional requirements.

Here are the chapters of this video

Timecodes
00:00 Why to worry about unit testing software development
00:31 Why we do unit tests and what are mocks fakes and stubs
01:08 Why we do unit testing
02:04 Misconceptions about the unit testing
02:52 What’s a unit in unit testing
03:51 Definition of unit testing
04:36 Running unit tests independently
05:24 Mocks Fakes and Stubs of Unit Testing
05:55 What Mocks stubs and fakes do
06:44 Mocks in Unit Testing
08:16 Stubs in unit testing
09:06 What Mocks and Stubs can do in unit testing
09:30 Fakes in unit testing
11:07 Arrange act and asset of unit testing

#unittesting #softwarequality #testing


#cognitiveprogrammer

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Unit Testing & Mocks Fakes and Stubs - No Code Learning

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

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

Скачать аудио

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

Unit Tests and Test Doubles like Mocks, Stubs & Fakes

Unit Tests and Test Doubles like Mocks, Stubs & Fakes

🔴 СРОЧНО РУБИО ОТКАЗАЛСЯ ОТ ВСТРЕЧИ ПО УКРАИНЕ #новости #одиндень

🔴 СРОЧНО РУБИО ОТКАЗАЛСЯ ОТ ВСТРЕЧИ ПО УКРАИНЕ #новости #одиндень

Навыки Клода, проекты Git и совершенно новый пользовательский интерфейс в Agent Zero!

Навыки Клода, проекты Git и совершенно новый пользовательский интерфейс в Agent Zero!

Mocks, Stubs and Spies with Mockito - JUnit Tutorial

Mocks, Stubs and Spies with Mockito - JUnit Tutorial

Why We ALL Use xUnit over NUnit or MSTest?

Why We ALL Use xUnit over NUnit or MSTest?

Расшифровка: Происходит нечто грандиозное. Вирусный блог об искусственном интеллекте.

Расшифровка: Происходит нечто грандиозное. Вирусный блог об искусственном интеллекте.

Вайбкодинг в 1С: бесплатный NVIDIA API, K2.5 и DeepSeek 3.2 с MCP

Вайбкодинг в 1С: бесплатный NVIDIA API, K2.5 и DeepSeek 3.2 с MCP

Программирование мертво. Да здравствует программирование с ИИ или без него! | Рациональный подход...

Программирование мертво. Да здравствует программирование с ИИ или без него! | Рациональный подход...

C++: Самый Противоречивый Язык Программирования

C++: Самый Противоречивый Язык Программирования

Туалет в блэкауте: что делать, если канализация не работает

Туалет в блэкауте: что делать, если канализация не работает

⚡️ ВКС и ВМФ России ударили по Украине | Зеленский покинул Украину

⚡️ ВКС и ВМФ России ударили по Украине | Зеленский покинул Украину

Mocks vs. Fakes vs. Stubs | Mocking in Java | Mock Frameworks | Geekific

Mocks vs. Fakes vs. Stubs | Mocking in Java | Mock Frameworks | Geekific

Unit Testing - How to Use Dummies, Fakes, Mocks, and Stubs

Unit Testing - How to Use Dummies, Fakes, Mocks, and Stubs

GLM 5 Обзор Z.ai

GLM 5 Обзор Z.ai

Сломанная кофейная чашка доказывает, что путешествия во времени НЕВОЗМОЖНЫ — анализ Фейнмана

Сломанная кофейная чашка доказывает, что путешествия во времени НЕВОЗМОЖНЫ — анализ Фейнмана

Professional Python Testing with Mocks

Professional Python Testing with Mocks

Андрей Ваджра: Украины уже нет!

Андрей Ваджра: Украины уже нет!

Модульное тестирование в C# 2022: 1. Введение + Первый тест

Модульное тестирование в C# 2022: 1. Введение + Первый тест

Мастер и Маргарита: Каков Иисус у Булгакова?

Мастер и Маргарита: Каков Иисус у Булгакова?

У Беларуси НЕТ АРМИИ! Учения ПРОВАЛИЛИСЬ! Все ОЧЕНЬ ПЛОХО!

У Беларуси НЕТ АРМИИ! Учения ПРОВАЛИЛИСЬ! Все ОЧЕНЬ ПЛОХО!

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



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