jtigger / csharp-koans

Koans for learning C#. Written as MSTests (with an Ordered Test as your Path To Enlightenment) intended to be used in Visual Studio 2010.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

Getting Started

In most implementations of programming koans, there is a Koan Runner. In this implementation, we chose to write them as MSTest test methods.

If you would like to follow the "Path to Enlightenment" (i.e. address the most rudamentary koans first and gradually increase with difficulty) then you will want to run the Ordered Test named "PathToEnlightenment". Here's how:

Quick Start

  1. In Visual Studio, open the csharp-koans.sln
  2. Open the "Test" pull-down menu, mouse over "Windows" and select "Test View"
  3. In the "Test View" panel, at the top, click the Refresh button (an icon of a piece of paper with green arrows pointing at each other).
  4. Find the Test named "pathtoenlightenment"
  5. Right-Click and select "Run Selection" this will open the "Test Results" panel and show the "pathtoenlightenment" test, having failed.
  6. In the "Test Results" panel, double-click on "pathtoenlightnment". This will bring up a Test Results; tests will be in order along the "path to enlightenment".
  7. Double-click on the top-most failing test
  8. Read the "Error Message" section for a hint.
  9. In the "Error Stack Trace" section, click on the link into the tests.

About

Koans for learning C#. Written as MSTests (with an Ordered Test as your Path To Enlightenment) intended to be used in Visual Studio 2010.


Languages

Language:C# 100.0%