Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Test Driven Development Patterns for .NET developers Microsoft Techdays Dec 2010 Author: Amir Barylko Contact: email@example.com Twitter: @abarylko The source in this repository was used for the demo in the presentation. Folder structure of the project: MediaLibrary --- MavenThought.MediaLibrary.sln : Main solution file --- Rakefile: Main rake file to launch build, test, etc. Do rake -T to get all the tasks available. +-- main: Project files included in the solution +-- test: Test project files included in the solution +-- lib: Dependencies used by all the projects (nhibernate, nunit, mbunit, etc) +-- tools: Tools used to run tests, msbuild tasks, etc. Prerequisites to run it: * Rake: Install ruby or iron ruby with ruby gems to get rake. Here some instructions: http://marcinobel.com/index.php/rake-net-projects-installation-setup/ * Install rake: gem install rake * Install bundler: gem install bundler * Run: rake setup (that should download all dependencies) Prerequisites to modify it: * VS 2010 * ASP .NET MVC 2: http://www.asp.net/mvc * Gallio: Download from http://ccnet.gallio.org * Specflow 1.3.0: http://www.specflow.org Good to have (highly recommended) * Resharper: http://www.jetbrains.com * VSCommands: Tool to group and ungroup items (recommended, not required) http://visualstudiogallery.msdn.microsoft.com/en-us/E93945C9-96E8-4A0D-BCC3-BD40BF799773 Sanity check: * From command prompt, on the root of the project run "rake -T", u should see all the tasks. * From command prompt, on the root of the project run "rake build" * From command prompt, on the root of the project run "rake test:all", all tests should run, u should see the output on the command window. If u r attending the presentation and have any issues setting up the code feel free to find me and letting me know, I'll help you with the setup. Any comments, bugs, issues, please let me know. Enjoy.