Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
C# Test Driven DevelopmentГод выпуска: 04/2016
Производитель: Lynda
Сайт производителя: lynda.com/C-tutorials/C-Test-Driven-Development/459492-2.html
Автор: Reynald Adolphe
Продолжительность: 0:55
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: Test-driven development is a methodology for creating more robust code. Among other benefits, test-driven development (or TDD) allows you to catch bugs early and decouple code, making it more modular and scalable. Applying TDD principles to C# programming is a win-win for developers.
In this course, Reynald Adolphe explains the principles of test-driven development and shows how to apply them to two different C# workflows. First, he creates a new test-driven project. He writes the test cases before the code to drive the design of the program. In the second scenario, he writes test cases for an existing C# project, to find bugs before it goes live. Along the way, Reynald uses Microsoft's MSTest, but he also introduces other testing tools (such as the unit testing framework xUnit and the mocking framework Moq) and theories (such as the red-green-refactor mantra and SOLID principles) that make test-driven development so efficient.
Разработка через тестирование-это методология для создания более надежного кода. Среди других преимуществ, разработка через тестирование (или tdd) позволяет отлавливать ошибки на ранних этапах и отделить код, сделав его более модульным и масштабируемым. Применение ТДД принципы программирования на C# это беспроигрышный вариант для разработчиков.
В этом, конечно, Рейнальд Адольф объясняет принципы тестовая разработка и показывает, как применять их для двух разных процессов на C#. Во-первых, он создает новый тест-драйв проекта. Он пишет тестов перед кодом для привода дизайн программы. Во втором сценарии он пишет тестовые случаи для существующего проекта на C#, чтобы найти ошибки, прежде чем он идет жить. Попутно Рейнальд использует Майкрософт сбор, но он также представляет другие средства тестирования (например, модульного тестирования xunit и насмешки рамках moq) и теорий (например, красный-зеленый-рефакторинг мантры и твердые принципы), которые делают разработку на основе тестирования так эффективно.
[spoiler="Содержание"]
Introduction1m 46s
Welcome
1m 0s
What you should know
46s
1.
Review of Test-Driven Development7m 24s
Different approaches to testing
1m 48s
Red, green, refactor
54s
Refactoring: A deeper look
3m 58s
The art of testing
44s
2.
Useful Tools for the C# Test-Driven Development3m 13s
Testing tools (MSTest, NUnit, xUnit, and MbUnit)
1m 25s
Mocking frameworks (Moq, NSubstitute, and FakeItEasy)
1m 48s
3.
A Simple Test-Driven C# Project16m 45s
Create a simple test-driven C# project
1m 40s
Add a failing test
2m 43s
Update test to pass
5m 40s
Refactor the code
1m 16s
Create another test
5m 26s
4.
An Existing C# Project26m 6s
Add tests to an existing C# project
4m 33s
Organize the solution
9m 46s
Add a failing test
2m 16s
Update test to pass
3m 22s
Use Moq to test data
6m 9s
Conclusion11s
Next steps
11s
[/spoiler]
Файлы примеров: присутствуют
Формат видео: MP4
Видео: AVC, 1280x720, 16:9, 15fps, 154kbps
Аудио: AAC, 48kHz, 128kbps, stereo
[spoiler="Скриншоты"]

[/spoiler]