I found a learn by doing project called Reactive Extensions (Rx) Koans .
It was updated in March 2012, so it is fairly updated.
Definition "Koan KΕans is a Zen word meaning enlightenment or awakening of a person, usually through a riddle or riddle. The most common of them is:" What sound does one hand clap? "
It is made up of a series of nearly complete unit tests that you must complete so that they pass. You do this by filling in the blanks.
It is fairly neat, fairly easy to complete and provides valuable information.
Oh yes, and that was Bart De Smith from the Rx team.
Here's a typical unit test:
[TestMethod] public void DoingInTheMiddle() { var status = new List<String>(); var daysTillTest = Range.Create(4, 1).ToObservable(); daysTillTest.Do(d => status.Add(d + "=" + (d == 1 ? "Study Like Mad" : ___))) .Subscribe(); Assert.AreEqual("[4=Party, 3=Party, 2=Party, 1=Study Like Mad]", status.AsString()); }
Cristi Diaconescu Mar 07 '13 at 22:15 2013-03-07 22:15
source share