Skip to content
/ csharp Public template

A simple starter project for TDD in C#

Notifications You must be signed in to change notification settings

tdd-starters/csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# TDD Starter

A sample project for getting started with TDD in C#.

The file Tests/CalculatorTests.cs contains one test case and a few in comments. Start by coming up with a few test cases and add them to the lists, then implement them one at a time, test-driving the solution forwards.

Requirements

This project requires .Net 7.0 which can be downloaded from here. More information can be found here.

Libraries

This project uses xUnit as the testing framework.

Test

You can execute the tests directly in your IDE or by running the following command in the terminal.

dotnet test