This is a test-driven development kata inspired by the Pluralsight Unit Testing course by Jason Olson.
To get started, we need to create a solution.
dotnet new sln -n FizzBuzz
dotnet new classlib -n FizzBuzz.Core
dotnet new xunit -n FizzBuzz.Core.Tests
dotnet sln add .\FizzBuzz.Core\FizzBuzz.Core.csproj
dotnet sln add .\FizzBuzz.Core.Tests\FizzBuzz.Core.Tests.csproj
dotnet add .\FizzBuzz.Core.Tests\FizzBuzz.Core.Tests.csproj reference .\FizzBuzz.Core\FizzBuzz.Core.csproj
dotnet build
dotnet new gitignore
git init
FizzBuzz is a test project that is used to test the skills of the developer. The rules are simple:
- If the number is divisible by 3, return "Fizz"
- If the number is divisible by 5, return "Buzz"
- If the number is divisible by 3 and 5