Популярное

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

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

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

Топ запросов

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

Uncovering the Secret to Refactoring Legacy Code!

Автор: Foad Alavi

Загружено: 2023-04-26

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

Описание:

The secrets of refactoring a legacy code, which has no unit test by generating unit tests automatically add having 100% unit test coverage. You will learn how snapshot testing, mutation testing, and unit testing will help you refactor a C#legacy code.

Buy me a coffee: https://buymeacoffee.com/foadalavix
Patreon:   / foadalaviyoutube  

⏱️⏱️VIDEO CHAPTERS⏱️⏱️
00:00 - Intro
01:56 - 100% coverage using snapshot Testing
12:32 - Mutation testing to test our unit test
17:00 - Start Refactoring- Lifting up conditions
38:06 - Single Responsibility principle
52:19 - Verify testing

🔔 Subscribe for more tips just like this: https://www.youtube.com/@Foad_Alavi?s...

More Description:
The video is about how to refactor legacy code without affecting existing functionality. The speaker discusses an example of code, which lacks unit tests and has a method that needs to be refactored. The speaker emphasizes the importance of having a fully covered code before refactoring. They introduce the concept of snapshot testing, where they use the library called Verify to create a snapshot of the test result. The speaker demonstrates how to use Verify to generate data for all conditions of the method, using nested loops to create all possible combinations of values that the method accepts. The goal is to generate unit test coverage of 100% for the code.

GitHub Repo: https://github.com/foadalavi/Test-Fou...

All About Testing Playlist:    • All About Testing  

#csharp #testing #refactoring

Uncovering the Secret to Refactoring Legacy Code!

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

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

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

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

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

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

Master ASP.NET Core Integration Testing: Learn How TestContainers and WebApplicationFactory Can Help

Master ASP.NET Core Integration Testing: Learn How TestContainers and WebApplicationFactory Can Help

How to Avoid Refactoring Legacy Code HELL

How to Avoid Refactoring Legacy Code HELL

C# 14 Isn't Just Adding New Syntax — It's Removing the Old One!

C# 14 Isn't Just Adding New Syntax — It's Removing the Old One!

The Test Pyramid and TDD: Tutorial for Beginners using C#.Net

The Test Pyramid and TDD: Tutorial for Beginners using C#.Net

Программируем с Google Antigravity + Gemini 3 Pro. СМОЖЕТ КАЖДЫЙ!

Программируем с Google Antigravity + Gemini 3 Pro. СМОЖЕТ КАЖДЫЙ!

How To Avoid TOXIC Team Culture In Software Development

How To Avoid TOXIC Team Culture In Software Development

Что я думаю про будущее разработки в эпоху ИИ

Что я думаю про будущее разработки в эпоху ИИ

Testing and Refactoring Legacy Code

Testing and Refactoring Legacy Code

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Breaking Dependencies: The SOLID Principles - Klaus Iglberger - CppCon 2020

Breaking Dependencies: The SOLID Principles - Klaus Iglberger - CppCon 2020

Refactoring Legacy Code: STEP BY STEP (Part 1)

Refactoring Legacy Code: STEP BY STEP (Part 1)

SHOCK FOOTAGE: China’s T800 Robot Performs Moves No Human Could Survive!

SHOCK FOOTAGE: China’s T800 Robot Performs Moves No Human Could Survive!

Run TestContainers in Azure Pipeline using Docker wormhole - Part2

Run TestContainers in Azure Pipeline using Docker wormhole - Part2

Изучите принципы SOLID с примерами CLEAN CODE

Изучите принципы SOLID с примерами CLEAN CODE

I Asked GPT-4 To Refactor My Legacy Codebase

I Asked GPT-4 To Refactor My Legacy Codebase

Testing and Refactoring Legacy Code

Testing and Refactoring Legacy Code

Китай только что запустил SLAUGHTERBOTS: армию роботов, полностью управляемую искусственным интел...

Китай только что запустил SLAUGHTERBOTS: армию роботов, полностью управляемую искусственным интел...

БЕЛЫЕ СПИСКИ: какой VPN-протокол справится? Сравниваю все

БЕЛЫЕ СПИСКИ: какой VPN-протокол справится? Сравниваю все

ТОП 10 ЛУЧШИХ способов мониторинга Linux

ТОП 10 ЛУЧШИХ способов мониторинга Linux

Как писать код с ИИ: советы от разработчика с 25-летним стажем

Как писать код с ИИ: советы от разработчика с 25-летним стажем

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



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



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