Skip to content

Implementation of the famous Kata FizzBuzz. This is used to support the presentation of UnitTesting using NUnit, NSubstitute

Notifications You must be signed in to change notification settings

AlexisGoument/FizzBuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of the famous Kata FizzBuzz This is used to support a presentation of UnitTesting using NUnit, NSubstitute

Prerequisite

NET 6 visual studio 2022

Get started

git clone https://github.com/AlexisGoument/FizzBuzz.git

Kata steps

  1. Project basis: FizzBuzz class with method CountTo100
  2. Test project with nuget NUnit
  3. Implement class FizzBuzz + Test (DummyClass allows to test method IsMultiple3 without public accessor)
  4. Bonus: 3.1. Add a repository Database.GetNumbers() throwing an exception 3.2. Add a private property FizzBuzz._database (passed in constructor) 3.3. Add a method string[] FizzBuzz.TransformFromDatabase() calling Database.GetNumbers() 3.4. Test it (with nuget NSubstitute)

About

Implementation of the famous Kata FizzBuzz. This is used to support the presentation of UnitTesting using NUnit, NSubstitute

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages