Writing a Issue Tracker part III: Creating the Solutions

by brunofig 24. July 2007 03:36

While in the two previous posts we talked about the main ideia and how the project will be strutured, it's now time to create our solution.

The Solution - Marvin the issue tracker

"Marvin" (application code name), will be strucured in three projects:

  • Marvin.Core, that makes the application ticks;
  • Marvin.Website, that is what we will use as UI;
  • Marvin.Core.Tests, for unit and mock testing;

For the developement of this application we will be using the Microsoft Visual Studio Web Developer Express Edition for the website, and the Microsoft Visual Studio C# 2005 Express Edition for both the Core and Tests development. You can get both application freely here.

The Website project

So after starting the VS WebDevelopment, we will create a new Asp.NEt Web Site:

image

 

The Core project

All of the Marvin logical functionality will be handled by the Marvin.Core assembly. So we startup the Msft Visual Studio C# 2005 Express Edition and create a new Class Project:

image

 

The Tests project

 It's always nice to know that when we change on line of code we are not creating other bugs. So unit testing will help us on this matter. It's not 100% accurate, but it will help us finding early bugs. So will add a new Class Project to the previous created solution:

image

 

image

 

For the unit testing we'll be using the NUnit framework. Since this is a dependency for our project we first need to copy the nunit.framework.dll assembly from our Tools\NUnit\Bin folder to the Marvin\Dependencies folder.

After that, we add the this assembly reference to the Tests project:

image

 

All done...

... and in next post I'll cover the build enviroment setup using MSBuild. I will also show how to accomplish the same task using NAnt.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , ,

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.4.5.7
Theme by Mads Kristensen

About the author

Hi!

My name is Bruno and I'am a senior consultant. When I'm not working, you can catch me playing with my daugther, taking photos and hanging out with my wife and friends. :)

You can also check my dark side or have fun with my vision of the world.

View Bruno Figueiredo's profile on LinkedIn

TwitterCounter for @brunoshine

Ads

    Page List

      Most comments

      ricos ricos
      1 comments
      be Belgium
      Root Server Root Server
      1 comments
      de Germany
      steph steph
      1 comments
      sg Singapore

      RecentComments

      Comment RSS

      Now Reading

      Professional WCF Programming: .NET Development with the Windows Communication Foundation (Programmer to Programmer) by Scott Klein
      Professional Windows Workflow Foundation by Todd Kitta

      Popuri.us

      My Popularity (by popuri.us)