/csharp

A simple starter project for TDD in C#

Primary LanguageC#

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