Skip to content

EHampton252/module-5-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FizzBuzz TDD Workshop

This is a test-driven development kata inspired by the Pluralsight Unit Testing course by Jason Olson.

Set Up

To get started, we need to create a solution.

  1. dotnet new sln -n FizzBuzz
  2. dotnet new classlib -n FizzBuzz.Core
  3. dotnet new xunit -n FizzBuzz.Core.Tests
  4. dotnet sln add .\FizzBuzz.Core\FizzBuzz.Core.csproj
  5. dotnet sln add .\FizzBuzz.Core.Tests\FizzBuzz.Core.Tests.csproj
  6. dotnet add .\FizzBuzz.Core.Tests\FizzBuzz.Core.Tests.csproj reference .\FizzBuzz.Core\FizzBuzz.Core.csproj
  7. dotnet build
  8. dotnet new gitignore
  9. git init

FizzBuzz

FizzBuzz is a test project that is used to test the skills of the developer. The rules are simple:

  1. If the number is divisible by 3, return "Fizz"
  2. If the number is divisible by 5, return "Buzz"
  3. If the number is divisible by 3 and 5

About

Test Driven Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%