Skip to main content

Hands on Test Driven Development Katas

In these days, Test Driven Development (TDD) is one of the most growing things in the technical world. Most of us are following Agile methodology where we would like to test our code within code.In this article, we will discuss all about TDD Katas and how we can get hands-on with

C# (10.0 MB)
 
 
 
 
 
5 Star
(1)
223 times
Add to favorites
12/24/2015
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{BEDADFEE-66FB-41D8-8D09-3C6D9EFB1C90}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>TDD_Katas_project</RootNamespace>
    <AssemblyName>TDD-Katas-project</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
    <RestorePackages>true</RestorePackages>
    <TargetFrameworkProfile />
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Reactive.Core">
      <HintPath>..\packages\Rx-Core.2.2.5\lib\net45\System.Reactive.Core.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive.Interfaces">
      <HintPath>..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive.Linq">
      <HintPath>..\packages\Rx-Linq.2.2.5\lib\net45\System.Reactive.Linq.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive.PlatformServices">
      <HintPath>..\packages\Rx-PlatformServices.2.2.5\lib\net45\System.Reactive.PlatformServices.dll</HintPath>
    </Reference>
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="BowlingGame\Game.cs" />
    <Compile Include="BowlingGame\TestGame.cs" />
    <Compile Include="Common\Utility\EnumerableComparer.cs" />
    <Compile Include="Common\Utility\SimpleNaturalStringOrder.cs" />
    <Compile Include="FizzBuzzKata\Rx\FizzBuzzRx.cs" />
    <Compile Include="FizzBuzzKata\Rx\TestFizzBuzzRx.cs" />
    <Compile Include="StringSum\StringSumKata.cs" />
    <Compile Include="StringSum\TestStringSumKata.cs" />
    <Compile Include="TheDiversionKata\Diversion.cs" />
    <Compile Include="TheDiversionKata\TestDiversion.cs" />
    <Compile Include="FizzBuzzKata\FizzBuzz.cs" />
    <Compile Include="FizzBuzzKata\TestFizzBuzz.cs" />
    <Compile Include="TheGameOfLifeKata\GameOfLife.cs" />
    <Compile Include="TheGameOfLifeKata\TestGameOfLife.cs" />
    <Compile Include="OddEvenKata\OddEven.cs" />
    <Compile Include="OddEvenKata\TestOddEven.cs" />
    <Compile Include="StringCalculator\Calculator.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="StringCalculator\TestCalculator.cs" />
    <Compile Include="TheCalcStatsKata\CalcStat.cs" />
    <Compile Include="TheCalcStatsKata\CalcStatTest.cs" />
    <Compile Include="TheHarryPoterKata\HarryPoter.cs" />
    <Compile Include="TheHarryPoterKata\TestHarryPoter.cs" />
    <Compile Include="TheLeapYearKata\LeapYear.cs" />
    <Compile Include="TheLeapYearKata\LeapYearTest.cs" />
    <Compile Include="TheNaturalStringSortingKata\NaturalStringSorting.cs" />
    <Compile Include="TheNaturalStringSortingKata\NaturalStringSortingTest.cs" />
    <Compile Include="ThePrimeFactorKata\PrimeFactor.cs" />
    <Compile Include="ThePrimeFactorKata\PrimeFactorTest.cs" />
    <Compile Include="TheRecentlyUsedList kata\RecentlyUsedList.cs" />
    <Compile Include="TheRecentlyUsedList kata\RecentlyUsedListTest.cs" />
    <Compile Include="TheWordWrapKata\WordWrap.cs" />
    <Compile Include="TheWordWrapKata\WordWrapTest.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="BowlingGame\TheBowlingGameKata.txt" />
    <Content Include="StringCalculator\StringCalculator.txt" />
  </ItemGroup>
  <ItemGroup>
    <None Include="BowlingGame\Bowling Game Kata.ppt" />
    <None Include="packages.config" />
    <None Include="ThePrimeFactorKata\Prime Factors Kata.ppt" />
  </ItemGroup>
  <ItemGroup>
    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
  </ItemGroup>
  <ItemGroup />
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
  </Target>
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>