- Регистрация
- 22 Февраль 2018
- Сообщения
- 11.997
Автор: Pluralsight
Название: Mocking with Moq and xUnit (2020)
Описание:
01. Course Overview:
01. Course Overview
02. Getting Started with Mocking and Moq:
01. Introduction
02. An Overview of Mocking
03. Why Use Mock Objects
04. What Is a Unit
05. Fakes, Dummies, Stubs, Mocks, and Test Doubles
06. An Overview of Moq
07. Demo Code Overview
08. Adding a Unit Test Project
09. Writing Initial Tests
10. Introducing a New Dependency
11. Summary
03. Configuring Mocked Methods:
01. Introduction
02. Installing Moq
03. Instantiating and Using a Mock Object
04. Configuring Mock Object Method Return Values
05. Argument Matching in Mocked Methods
06. Understanding Strict and Loose Mocks
07. Strict Mock Example
08. Comparing Strict and Loose Mocks
09. Refactoring the Tests
10. Mocking Methods with Out Parameters
11. Matching ref Arguments with Moq
12. Summary
04. Configuring Mock Object Properties:
01. Introduction
02. Configuring a Mocked Property to Return a Specified Value
03. Getting a Return Value from a Function
04. Auto-mocking Property Hierarchies
05. Specifying Default Value Behavior for Loose Mocks
06. Tracking Changes to Mock Property Values
07. Summary
05. Implementing Behavior Verification Tests:
01. Introduction
02. Behavior Testing and State Based Testing
03. Verifying a Method Was Called
04. Adding a Custom Error Message
05. Verifying a Method Was Not Called
06. Verifying a Method Was Called a Specific Number of Times
07. Verifying a Property Getter Was Called
08. Verifying a Property Setter Was Called
09. Summary
06. Using Additional Moq Mocking Techniques:
01. Introduction
02. Throwing Exceptions from Mock Objects
03. Raising Events from Mock Objects
04. Returning Different Results for Sequential Calls
05. Checking a Mock Method Was Called Multiple Times with Different Values
06. Mocking Members of Concrete Types with Partial Mocks
07. Mocking Virtual Protected Members
08. Improving Mock Setup Readability with LINQ to Mocks
09. Refactoring the Test Class
10. Matching Generic Type Arguments
11. Mocking Async Method Return Values
12. Summary
Материал на английском языке
Продажник:
https://www.pluralsight.com/courses/mocking-moq-xunit
Скачать:
Название: Mocking with Moq and xUnit (2020)
Описание:
01. Course Overview:
01. Course Overview
02. Getting Started with Mocking and Moq:
01. Introduction
02. An Overview of Mocking
03. Why Use Mock Objects
04. What Is a Unit
05. Fakes, Dummies, Stubs, Mocks, and Test Doubles
06. An Overview of Moq
07. Demo Code Overview
08. Adding a Unit Test Project
09. Writing Initial Tests
10. Introducing a New Dependency
11. Summary
03. Configuring Mocked Methods:
01. Introduction
02. Installing Moq
03. Instantiating and Using a Mock Object
04. Configuring Mock Object Method Return Values
05. Argument Matching in Mocked Methods
06. Understanding Strict and Loose Mocks
07. Strict Mock Example
08. Comparing Strict and Loose Mocks
09. Refactoring the Tests
10. Mocking Methods with Out Parameters
11. Matching ref Arguments with Moq
12. Summary
04. Configuring Mock Object Properties:
01. Introduction
02. Configuring a Mocked Property to Return a Specified Value
03. Getting a Return Value from a Function
04. Auto-mocking Property Hierarchies
05. Specifying Default Value Behavior for Loose Mocks
06. Tracking Changes to Mock Property Values
07. Summary
05. Implementing Behavior Verification Tests:
01. Introduction
02. Behavior Testing and State Based Testing
03. Verifying a Method Was Called
04. Adding a Custom Error Message
05. Verifying a Method Was Not Called
06. Verifying a Method Was Called a Specific Number of Times
07. Verifying a Property Getter Was Called
08. Verifying a Property Setter Was Called
09. Summary
06. Using Additional Moq Mocking Techniques:
01. Introduction
02. Throwing Exceptions from Mock Objects
03. Raising Events from Mock Objects
04. Returning Different Results for Sequential Calls
05. Checking a Mock Method Was Called Multiple Times with Different Values
06. Mocking Members of Concrete Types with Partial Mocks
07. Mocking Virtual Protected Members
08. Improving Mock Setup Readability with LINQ to Mocks
09. Refactoring the Test Class
10. Matching Generic Type Arguments
11. Mocking Async Method Return Values
12. Summary
Материал на английском языке
Продажник:
https://www.pluralsight.com/courses/mocking-moq-xunit
Скачать:
Скрытое содержимое могут видеть только члены группы Премиум.
Скрытый контент для пользователей All-dar.