Skip to main content
00:00/00:00
Lecture 27 of 31

Unit testing index ActionResult

Download Course (Free)

Course Content

0 / 31 completed
Section 1: Introduction3 videos

Unit testing ASP.NET Core apps

1m

What you should know

1m

Changes in ASP.NET Core

7m
Section 2: Get Started with Unit Testing6 videos

Application testing strategies

2m

Understand the MSTest framework

1m

Why unit testing

2m

Understand the NUnit framework

1m

Understand the xUnit framework

1m

Decide between the frameworks

2m
Section 3: Console Applications7 videos

ASP.NET Core console project overview

2m

Set up the console testing project

5m

Challenge Test add and average methods

1m

xUnit Theory with InlineData

7m

Solution Test add and average methods

6m

xUnit Theory with MemberData

6m

xUnit Theory with ClassData

5m
Section 4: Web API Applications7 videos

ASP.NET Core web API project overview

3m

Set up web API testing project

3m

Challenge Test HttpGet API endpoint with id

1m

Unit testing HttpGet API endpoint

6m

Unit testing HttpPost API endpoint

8m

Solution Test HttpGet API endpoint with id

9m

Unit testing HttpDelete API endpoint

6m
Section 5: MVC Applications7 videos

ASP.NET Core MVC project overview

6m

Set up MVC testing project

3m

Challenge Unit testing details ActionResult

1m

Unit testing index ActionResult

9mNow Playing

Unit testing create ActionResult

9m

Solution Unit testing details ActionResult

13m

Unit testing remove ActionResult

8m
Section 6: Conclusion1 videos

Where to go next

1m