Unit Testing C# with xUnit
Microsoft's walkthrough that creates a solution with a class library and an xUnit test project from the dotnet CLI, then grows the code test first. The quickest way for a C# beginner to learn how tests are structured and run with dotnet test.
Guide
Other
Microsoft
1 hour
Beginner
Free
Microsoft's walkthrough that creates a solution with a class library and an xUnit test project from the dotnet CLI, then grows the code test first. The quickest way for a C# beginner to learn how tests are structured and run with dotnet test.
Ready to start?
Opens on Microsoft in a new tab.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
Follow along
New writing, resources and project ideas land here first.