[Udemy] Unit Testing for C# Developers. 2018. ENG (Mosh Hamedani)
Picture this: you make a simple change to the code and suddenly realize that you created a dozen unexpected bugs. Sound familiar? You’re not alone!
Good news is, unit testing can make this a thing of the past.
Выходные данные
Файлы примеров: присутствуют
Формат видео: MP4
Видео: H264-AVC, 1280x720, 30fps, 686 kbps
Аудио: AAC, 41000, Stereo, 109 kbps
Год выпуска: 2018
Производитель: Udemy
Автор: Mosh Hamedani
Продолжительность: 05:48
Формат: MP4
Язык: Английский
Содержание
– Getting Started - 43:41
What is Automated Testing
Preview - 02:40
Benefits of Automated Testing
Preview - 02:37
Types of Tests
Preview - 04:00
Test Pyramid
Preview - 02:55
The Tooling - 02:52
Source Code - 00:15
Writing Your First Unit Test - 10:27
Testing All the Execution Tests - 05:22
Refactoring with Confidence - 02:14
Using NUnit in Visual Studio - 03:59
What is Test-Driven Development - 03:19
Course Structure - 01:46
Summary - 00:41
Asking Questions - 00:34
Introduction - 00:47
Characteristics of Good Unit Tests - 02:03
What to Test and What Not to Test - 03:00
Naming and Organizing Tests - 02:36
Introducing Rider - 01:52
Writing a Simple Unit Test - 03:52
Black-box Testing - 04:43
Set Up and Tear Down - 03:36
Parameterized Tests - 03:25
Ignoring Tests - 01:33
Writing Trustworthy Tests - 06:11
Developers Who Don't Write Tests - 03:51
Summary - 01:33
– Core Unit Testing Techniques - 45:39
Introduction - 00:32
Testing Strings - 05:50
Testing Arrays and Collections - 06:11
Testing the Return Type of Methods - 04:02
Testing Void Methods - 04:42
Testing Methods that Throw Exceptions - -04:10
Testing Methods that Raise an Event - 04:34
Testing Private Methods - 09:50
Code Coverage - 02:30
Testing in the Real-world - 02:32
Summary - 00:46
– Exercises - 33:59
19- Exercise- FizzBuzz - 01:19
20- Solution- FizzBuzz - 06:19
Exercise- DemeritPointsCalculator - 00:54
Solution- DemeritPointsCalculator - 09:43
Exercise- Stack - 00:49
Solution- Stack - 14:55
– Breaking External Dependencies - 55:31
Introduction - 02:16
Loosely-coupled and Testable Code - 03:34
Refactoring Towards a Loosely-coupled Design - 09:42
Dependency Injection via Method Parameters - 05:09
Dependency Injection via Properties - 02:41
Dependency Injection via Constructor - 04:22
Dependency Injection Frameworks - 03:26
Mocking Frameworks - 01:55
Creating Mock Objects Using Moq - 06:47
State-based vs. Interaction Testing - 01:54
Testing the Interaction Between Two Objects - 03:40
Fake as Little As Possible - 03:10
An Example of a Mock Abuse - 04:54
Who Should Write Tests - 02:01
– Exercises - 41:12
Exercise- VideoService - 01:11
Refactoring - 05:47
Testing - 07:55
Exercise- InstallerHelper - 01:26
Refactoring InstallerHelper - 04:47
Testing InstallerHelper - 08:05
Exercise- EmployeeHelper - 02:37
Refactoring EmployeeController - 05:24
Testing EmployeeController - 04:00
– Project- Testing BookingHelper - 35:51
Introduction - 02:12
Test Cases - 03:40
Extracting IBooking Repository - 07:44
Writing the First Test - 04:29
Refactoring - 07:50
Writing the Second Test - 01:28
Fixing a Bug - 03:44
Writing Additional Tests - 04:44
– Project- HouseKeeperHelper - 53:46
Introduction - 02:07
Refactoring For Testability - 09:32
Fixing a Design Issue - 02:59
An Alternative Solution - 00:39
Writing the First Interaction Test - 07:40
Keeping Tests Clean - 05:42
Testing a Method is Not Called - 05:37
Another Interaction Test - 07:31
Extracting Helper Methods - 08:02
Testing Exceptions - 03:34
Coupons to My Other Courses
Preview - 00:23
Список файлов
01 Getting Started
001 What is Automated Testing.mp4 [5m 879k 656]
002 Benefits of Automated Testing.mp4 [11m 381k 812]
003 Types of Tests.mp4 [19m 791k 507]
004 Test Pyramid.mp4 [5m 238k 823]
005 The Tooling.mp4 [13m 624k 835]
006 Source Code.mp4 [346k 916]
006 source-code-completed-1.zip [23m 73k 237]
006 source-code-starter-1.zip [20m 137k 845]
007 Writing Your First Unit Test.mp4 [16m 267k 227]
008 Testing All the Execution Tests.mp4 [12m 190k 890]
009 Refactoring with Confidence.mp4 [4m 647k 833]
010 Using NUnit in Visual Studio.mp4 [9m 645k 723]
011 What is Test-Driven Development.mp4 [6m 933k 72]
012 Course Structure.mp4 [7m 465k 861]
013 Summary.mp4 [1m 337k 282]
014 Asking Questions.html [1k 748]
02 Fundamentals of Unit Testing
015 Introduction.mp4 [1m 463k 479]
016 Characteristics of Good Unit Tests.mp4 [4m 151k 531]
017 What to Test and What Not to Test.mp4 [9m 66k 658]
018 Naming and Organizing Tests.mp4 [7m 183k 44]
019 Introducing Rider.mp4 [3m 858k 158]
020 Writing a Simple Unit Test.mp4 [6m 93k 414]
021 Black-box Testing.mp4 [12m 16k 925]
022 Set Up and Tear Down.mp4 [6m 312k 730]
023 Parameterized Tests.mp4 [8m 982k 651]
024 Ignoring Tests.mp4 [2m 409k 869]
025 Writing Trustworthy Tests.mp4 [14m 676k 457]
026 Developers Who Dont Write Tests.mp4 [24m 34k 544]
027 Summary.mp4 [2m 743k 219]
03 Core Unit Testing Techniques
028 Introduction.mp4 [781k 305]
029 Testing Strings.mp4 [10m 255k 165]
030 Testing Arrays and Collections.mp4 [10m 330k 296]
031 Testing the Return Type of Methods.mp4 [6m 389k 191]
032 Testing Void Methods.mp4 [7m 612k 222]
033 Testing Methods that Throw Exceptions.mp4 [7m 230k 931]
034 Testing Methods that Raise an Event.mp4 [7m 718k 186]
035 Testing Private Methods.mp4 [16m 509k 893]
036 Code Coverage.mp4 [7m 343k 448]
037 Testing in the Real-world.mp4 [16m 659k 944]
038 Summary.mp4 [1m 567k 962]
04 Exercises
039 19- Exercise- FizzBuzz.mp4 [2m 139k 188]
040 20- Solution- FizzBuzz.mp4 [9m 817k 801]
041 Exercise- DemeritPointsCalculator.mp4 [1m 608k 371]
042 Solution- DemeritPointsCalculator.mp4 [27m 789k 568]
043 Exercise- Stack.mp4 [1m 450k 628]
044 Solution- Stack.mp4 [28m 8k 572]
05 Breaking External Dependencies
045 Introduction.mp4 [6m 447k 941]
046 Loosely-coupled and Testable Code.mp4 [8m 866k 287]
047 Refactoring Towards a Loosely-coupled Design.mp4 [15m 173k 829]
048 Dependency Injection via Method Parameters.mp4 [8m 774k 76]
049 Dependency Injection via Properties.mp4 [4m 874k 361]
050 Dependency Injection via Constructor.mp4 [11m 135k 946]
051 Dependency Injection Frameworks.mp4 [5m 953k 852]
052 Mocking Frameworks.mp4 [3m 336k 561]
053 Creating Mock Objects Using Moq.mp4 [13m 5k 612]
054 State-based vs. Interaction Testing.mp4 [3m 792k 601]
055 Testing the Interaction Between Two Objects.mp4 [7m 209k 606]
056 Fake as Little As Possible.mp4 [7m 271k 661]
057 An Example of a Mock Abuse.mp4 [7m 906k 138]
058 Who Should Write Tests.mp4 [9m 382k 181]
06 Exercises
059 Exercise- VideoService.mp4 [1m 682k 964]
060 Refactoring.mp4 [10m 339k 311]
061 Testing.mp4 [15m 579k 320]
062 Exercise- InstallerHelper.mp4 [2m 302k 61]
063 Refactoring InstallerHelper.mp4 [7m 829k 545]
064 Testing InstallerHelper.mp4 [14m 765k 936]
065 Exercise- EmployeeHelper.mp4 [4m 258k 68]
066 Refactoring EmployeeController.mp4 [9m 593k 40]
067 Testing EmployeeController.mp4 [7m 363k 328]
07 Project- Testing BookingHelper
068 Introduction.mp4 [5m 259k 370]
069 Test Cases.mp4 [8m 482k 23]
070 Extracting IBooking Repository.mp4 [18m 150k 261]
071 Writing the First Test.mp4 [12m 123k 533]
072 Refactoring.mp4 [21m 947k 550]
073 Writing the Second Test.mp4 [4m 611k 548]
074 Fixing a Bug.mp4 [12m 94k 371]
075 Writing Additional Tests.mp4 [15m 600k 67]
08 Project- HouseKeeperHelper
076 Introduction.mp4 [7m 780k 854]
077 Refactoring For Testability.mp4 [19m 485k 414]
078 Fixing a Design Issue.mp4 [7m 577k 436]
079 An Alternative Solution.html [1k 789]
080 Writing the First Interaction Test.mp4 [21m 645k 640]
081 Keeping Tests Clean.mp4 [17m 140k 162]
082 Testing a Method is Not Called.mp4 [16m 470k 182]
083 Another Interaction Test.mp4 [15m 761k 564]
084 Extracting Helper Methods.mp4 [20m 769k 857]
085 Testing Exceptions.mp4 [10m 807k 786]
086 Coupons to My Other Courses.html [1k 999]