Testing .NET Code with xUnit.net: Getting Started
Pluralsight - Jason Roberts
It's usually more expensive, time-consuming, and stressful to fix software bugs after they have been released to production environments. A good set of automated tests helps to verify that the application is working as expected and helps to prevent bugs from getting into production. In this course, Testing .NET Code with xUnit.net: Getting Started, you'll get an overview of automated testing to empower you to be able to start testing your own applications. First, you'll learn how to create xUnit.net automated tests that verify different types of results. Next, you'll explore how to customize and control test execution and categorization. Finally, you'll discover how to reduce the amount of test code you need to write by using the power of data-driven tests. When you're finished with this course, you'll have a foundational knowledge of xUnit.net that will help you to start writing your own automated tests.
01. Course Overview:
01. Course Overview
02. Getting Started:
01. Introduction
02. Why Write Automated Tests
03. An Overview of Different Test Types
04. Testing Behaviour vs. Private Methods
05. The Logical Phases of an Automated Test
06. Introducing xUnit.net
07. Creating the Test Project
08. Creating a .NET Framework Test Project
09. Starting to Create the First Test
10. Summary
03. Determining Passing and Failing Tests with Asserts:
01. Introduction
02. An Overview of Asserts
03. How Many Asserts per Test
04. Adding an Assert to the First Test
05. Making Assertions Against String Values
06. Asserting on Numeric Values
07. Asserting on Floating Point Values
08. Asserting Null Values
09. Asserting with Collections
10. Making Asserts Against Object Types
11. Asserting on Object Instances
12. Asserting That Code Throws the Correct Exceptions
13. Asserting That Events Are Raised
14. Summary
04. Understanding and Controlling Test Execution:
01. Introduction
02. Categorizing and Running Subsets of Tests
03. Running Categories of Tests at the Command Line
04. Skipping Tests
05. Writing Custom Test Output Messages
06. Reducing Duplicated Test Code
07. Sharing Context Between Tests During Execution
08. Sharing Context Across Test Classes
09. Summary
05. Creating Data-driven Tests:
01. Introduction
02. Overview of Data-driven Tests
03. Adding Extra PlayerCharacter Tests
04. Refactoring to Data-driven Tests
05. Sharing Test Data Across Tests
06. Getting Test Data from External Sources
07. Creating Custom Data Source Attributes
08. Summary, Resources and Further Learning
Материал на английском языке
Продажник:
Скачать курс:
Pluralsight - Jason Roberts
It's usually more expensive, time-consuming, and stressful to fix software bugs after they have been released to production environments. A good set of automated tests helps to verify that the application is working as expected and helps to prevent bugs from getting into production. In this course, Testing .NET Code with xUnit.net: Getting Started, you'll get an overview of automated testing to empower you to be able to start testing your own applications. First, you'll learn how to create xUnit.net automated tests that verify different types of results. Next, you'll explore how to customize and control test execution and categorization. Finally, you'll discover how to reduce the amount of test code you need to write by using the power of data-driven tests. When you're finished with this course, you'll have a foundational knowledge of xUnit.net that will help you to start writing your own automated tests.
01. Course Overview:
01. Course Overview
02. Getting Started:
01. Introduction
02. Why Write Automated Tests
03. An Overview of Different Test Types
04. Testing Behaviour vs. Private Methods
05. The Logical Phases of an Automated Test
06. Introducing xUnit.net
07. Creating the Test Project
08. Creating a .NET Framework Test Project
09. Starting to Create the First Test
10. Summary
03. Determining Passing and Failing Tests with Asserts:
01. Introduction
02. An Overview of Asserts
03. How Many Asserts per Test
04. Adding an Assert to the First Test
05. Making Assertions Against String Values
06. Asserting on Numeric Values
07. Asserting on Floating Point Values
08. Asserting Null Values
09. Asserting with Collections
10. Making Asserts Against Object Types
11. Asserting on Object Instances
12. Asserting That Code Throws the Correct Exceptions
13. Asserting That Events Are Raised
14. Summary
04. Understanding and Controlling Test Execution:
01. Introduction
02. Categorizing and Running Subsets of Tests
03. Running Categories of Tests at the Command Line
04. Skipping Tests
05. Writing Custom Test Output Messages
06. Reducing Duplicated Test Code
07. Sharing Context Between Tests During Execution
08. Sharing Context Across Test Classes
09. Summary
05. Creating Data-driven Tests:
01. Introduction
02. Overview of Data-driven Tests
03. Adding Extra PlayerCharacter Tests
04. Refactoring to Data-driven Tests
05. Sharing Test Data Across Tests
06. Getting Test Data from External Sources
07. Creating Custom Data Source Attributes
08. Summary, Resources and Further Learning
Материал на английском языке
Продажник:
Для просмотра содержимого вам необходимо зарегистрироваться!
Скачать курс: