Есть причина, почему юнит-тестирование является основным слоем в пирамиде тестирования. Можно построить надежный набор тестов только на крепком фундаменте. Ничто так не укрепляет уверенность в работе с кодовой базой, как знание, что если вы случайно что-то нарушите, тест предупредит вас, спасая от потери сотен, тысяч или даже сотен тысяч долларов от потенциального воздействия на клиентов. В этом курсе Ник научит вас, как писать современные юнит-тесты для ваших кодовых баз, чтобы вы всегда были уверены в изменениях. А если вы не знаете, что такое пирамида тестирования, не волнуйтесь. Вы узнаете об этом, пройдя этот курс.
Удален по просьбе правообладателя
Урок 1.00:02:22
Welcome
Урок 2.00:03:56
What will you learn in this course?
Урок 3.00:01:50
Who is this course for and prerequisites
Урок 4.00:07:16
Different types of testing
Урок 5.00:01:31
What is unit testing and why it's important?
Урок 6.00:01:58
The testing pyramid
Урок 7.00:03:13
Why should you write unit tests?
Урок 8.00:01:58
The 3 core unit testing concepts
Урок 9.00:00:58
Why xUnit?
Урок 10.00:06:24
Writing your first unit test
Урок 11.00:02:51
Structuring your solution
Урок 12.00:03:33
Naming in unit tests
Урок 13.00:02:10
Arrange, Act, Assert
Урок 14.00:02:55
xUnit's test execution model
Урок 15.00:05:47
Test Setup and Teardown
Урок 16.00:03:19
Parameterizing tests
Урок 17.00:01:24
Ignoring tests
Урок 18.00:01:05
Your turn to practice (Project source under the video)
Урок 19.00:00:41
My answer to the exercise
Урок 20.00:00:49
Section recap
Урок 21.00:03:20
Writing fluent assertions
Урок 22.00:02:59
Testing strings
Урок 23.00:02:01
Testing numbers
Урок 24.00:01:38
Testing dates
Урок 25.00:03:33
Testing objects
Урок 26.00:03:33
Testing enumerables
Урок 27.00:02:24
Testing methods that throw Exceptions
Урок 28.00:01:30
Testing for raised events
Урок 29.00:01:25
Testing private methods (members)
Урок 30.00:03:02
Testing internal methods (members)
Урок 31.00:00:49
Section recap
Урок 32.00:03:55
The problem with dependencies
Урок 33.00:02:56
Dependency injection to the rescue
Урок 34.00:03:04
What are fakes?
Урок 35.00:06:12
What is mocking?
Урок 36.00:02:36
Moq vs NSubstitute
Урок 37.00:00:54
Section recap
Урок 38.00:03:39
The project we will be adding unit tests to
Урок 39.00:04:00
The scope of our testing
Урок 40.00:22:37
Testing the application layer
Урок 41.00:01:25
Exercise: Testing the rest of the application layer (Project source under the video)
Урок 42.00:15:22
Exercise answer: Testing the rest of the application layer
Урок 43.00:02:12
But was all that necessary?
Урок 44.00:01:14
Testing the data layer
Урок 45.00:09:52
Testing the API layer
Урок 46.00:01:04
Exercise: Testing the rest of the API layer (Project source under the video)
Урок 47.00:13:20
Exercise answer: Testing the rest of the API layer
Курсы, разработанные настоящими инженерами для реального мира. Курсы Dometrain направлены на предоставление опыта обучения, который программные инженеры могли бы получить, работая в паре с очень опытным и квалифицированным инженером в современной реальной компании.