Computer Science Canada

unit testing in visual studio 2005

Author:  unoho [ Wed Jun 15, 2011 3:05 pm ]
Post subject:  unit testing in visual studio 2005

So i am trying to do a unit testing in visual studio 2005 but it seems like i am missing the option "Create Unit Tests"
(that is supposed to come up when you click on a function and do a right click)

this is the tutorial im trying to follow: http://msdn.microsoft.com/en-us/library/ms182532(v=VS.80).aspx

anyone got any idea how i could do the unit test? am i missing something?

thanks

Author:  2goto1 [ Wed Jun 15, 2011 3:14 pm ]
Post subject:  RE:unit testing in visual studio 2005

What version of VS.NET 2005 do you have? There were several, i.e. Express, Pro, etc.

Author:  unoho [ Wed Jun 15, 2011 3:39 pm ]
Post subject:  RE:unit testing in visual studio 2005

using pro (according to help>about ms studio)

Author:  2goto1 [ Wed Jun 15, 2011 4:00 pm ]
Post subject:  RE:unit testing in visual studio 2005

With VS.NET 2005, you'd need one of the team editions. VS.NET 2008 and up includes unit testing in the pro versions. If you can't do that, you'd have to use a 3rd party unit testing framework such as nunit, http://www.nunit.org/

Author:  unoho [ Wed Jun 15, 2011 6:00 pm ]
Post subject:  RE:unit testing in visual studio 2005

ouchh tht suks.. but luckily i got 2010. so i guess i cud try on that. thanks though Smile

Author:  2goto1 [ Wed Jun 15, 2011 9:18 pm ]
Post subject:  RE:unit testing in visual studio 2005

2010 should have it, as long as it's not the Express edition. 2010 also has a lot of other nice new features and improvements, totally worth using it if you don't mind the slower UI performance due to the IDE being developed on Windows Presentation Foundation

Author:  mirhagk [ Thu Jun 16, 2011 10:57 am ]
Post subject:  RE:unit testing in visual studio 2005

btw dreamspark gives the professional editions to 2008 and 2010 so long as your a student. So if your 2010 isn't professional you can upgrade it there.

Author:  unoho [ Thu Jun 16, 2011 11:08 am ]
Post subject:  RE:unit testing in visual studio 2005

we get free 2010 or 2008 from university as well. Smile
but i cant really use 2010 during development because my server is running reporting service 2005 and we dont have permission to upgrade it to 2008.


: