[hemmerling] Coding Dojo / Coding Kata: How to play Kata FizzBuzz with NUnit

1 Installation and preparation

  1. Please install Microsoft Visual Studio 2005 Professional.
  2. Please download and install NUnit V2.
  3. Call WindowsUpdate to update your Windows system. If necessary reboot your Windows.
  4. With Visual Studio, create a C++ console project.

2 Create a Class

  • Create a file “Fizzbuzz.cpp”.


3 Create a Test Class

  1. In Visual Studio,... ?
  2. The file “FizzBuzzTest.cpp” respecitvely the class “FizzBuzzTest” is created automatially.
    
    
  3. If you try to compile and run it, it stops with the error message ”?”.

4 Testing and Coding, 2011-10-02

4.1 The final Test Class

The functions “test01”, “test02”,.. are previous versions of the function “fizzBuzz”, which document the development of the testing and coding process.



4.1 The final Class to be tested

The functions “fizzBuzz01”, “fizzBuzz02”,.. are previous versions of the function “fizzBuzz”, which document the development of the testing and coding process.



When this document changes ! Site Navigation ( My Business ! My Topics ! Imprint / Contact ! Privacy Policy ! Keyword Index ! ! Google+ Publisher "hemmerling" )

 
en/fizzbuzz02.html.txt · Last modified: 2017/12/11 17:53 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki