A little Java skeleton application for practicing making Fizzbuzz using Test Driven Development
Best done with a pair!
- The Fizzbuzz and FizzbuzzTest class are already created.
- There should be one public method in the Fizzbuzz class that has 1 String for input and 1 String for output.
- The method should output the String "fizz" if a number divisible by 3 is input.
- The method should output the String "buzz" if a number divisible by 5 is input.
- The method should output the String "fizzbuzz" if a number divisible by 3 and 5 is input.
- The method should output the String "not fizzy or buzzy" if a number not divisible by 3 or 5 is input.
- The method should output the input string if it is not a number.
- The method should write any errors to the console log.
- Use test-first TDD in a red-green-refactor cycle to write the application.
- Create a Git commit with each green test and each completed refactor.
- Switch driver and navigator between each commit if pairing.
- Include both developers' names in the commit message if pairing.