Skip to content
0:00 / 0:00

#asp.netcore#xunit#integrationtesting

End-to-End Testing ASP.NET Core APIs

Hassan Habib

596K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Hassan Habib
  • Linked in the descriptionhassanhabib/SchoolEM
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

20K views6 years ago1 recommendation

Tools and practiceWeb developmentTestingHTTP, REST and GraphQL

Hassan Habib demonstrates how to write acceptance and end-to-end tests for ASP.NET Core APIs using xUnit and WebApplicationFactory.

In this video, I'm going to show you how to write Acceptance Tests for your existing ASP.NET Core API Application. Here's the source code of the project I used to write these tests: github.com/hassanhabib/SchoolEM A special thanks to my friend Shimmy - this is his personal git profile: github.com/weitzhandler Learn more about xUnit Collection Fixtures here: xunit.net/docs/shared-context#collection-fixture You can also find more about WebApplicationFactory in Microsoft official documentation here:" docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc… Here's my series about the fundamentals of building ASP.NET Core applications: youtube.com/watch?v=L6tLGQiKZNE youtube.com/watch?v=FS6NkMcXjg4 youtube.com/watch?v=xNv4iet0okg

Why it's here

1 person recommends this

What people say. Recommended as a guide to writing acceptance and end-to-end tests for ASP.NET Core APIs.

u/HassanRezkHabibin r/dotnet • Recommends

End-to-End Testing ASP.NET Core APIs