Skip to content
trayburn edited this page Jan 19, 2011 · 2 revisions

Squire is a set of unit tests which are created to allow someone who is just learning .NET repetitively run through the various exercises as a drill to reinforce syntax and aid in memorization of key methods and abilities. The library is still developing, and more practices will be generated over time.

Suggested Use - Mentor

I recommend that the mentor fork Squire and then review the various Kihon practices within. Set any of the classes you don't want your students working on as Ignore by adding the [Ignore] attribute to the test. Once you've done this, commit the changes back to your repository and have your students fork from your version.

Suggested Use - Apprentice

Once you've forked a copy from your mentor, clone it to your local box and then create a branch. In the branch your job is to make all the unit tests pass. Open up one of the Kihon.cs files in the solution, and provided that it is not marked Ignore replace the:

throw new NotImplementedException();

with the actual solution to the problem. In most cases the method description alone should be sufficient to describe the desired work, but if it is not then there should be a comment to explain.

The reason to branch each time you run the test is that it ensures you can always easily get updates from your mentor when he changes the Kihons you should be working over time.

Clone this wiki locally