Can´t Create Unit Tests
-
Hi, I'm developing with Microsoft Visual Studio 2005 Version 8. I want to create unit tests but can´t do so. I don't have the new test option in the solution explorer. Also, I can't add it as a project. Don't know why, I have done it in other installations. Do you know how can I add the possibility to create unit tests in C# in Visual Studio 2005? Do I require the team edition? Thanks Martín
-
Hi, I'm developing with Microsoft Visual Studio 2005 Version 8. I want to create unit tests but can´t do so. I don't have the new test option in the solution explorer. Also, I can't add it as a project. Don't know why, I have done it in other installations. Do you know how can I add the possibility to create unit tests in C# in Visual Studio 2005? Do I require the team edition? Thanks Martín
You need the Developer or Tester edition.
only two letters away from being an asset
-
Hi, I'm developing with Microsoft Visual Studio 2005 Version 8. I want to create unit tests but can´t do so. I don't have the new test option in the solution explorer. Also, I can't add it as a project. Don't know why, I have done it in other installations. Do you know how can I add the possibility to create unit tests in C# in Visual Studio 2005? Do I require the team edition? Thanks Martín
kontrolakka wrote:
Do I require the team edition?
You require Team Developer, Team Tester or Team Suite edition.
Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website
-
Hi, I'm developing with Microsoft Visual Studio 2005 Version 8. I want to create unit tests but can´t do so. I don't have the new test option in the solution explorer. Also, I can't add it as a project. Don't know why, I have done it in other installations. Do you know how can I add the possibility to create unit tests in C# in Visual Studio 2005? Do I require the team edition? Thanks Martín
kontrolakka wrote:
Do I require the team edition?
For the integrated stuff from Microsoft, yep. Team Edition is the only one with Unittesting integrated. You might want to look into NUnit[^] as a free alternative.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
You need the Developer or Tester edition.
only two letters away from being an asset
Thank you very much.
-
kontrolakka wrote:
Do I require the team edition?
For the integrated stuff from Microsoft, yep. Team Edition is the only one with Unittesting integrated. You might want to look into NUnit[^] as a free alternative.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Absolutely, it works just fine. And for simple cases, you can also implement a much simplified test harness yourself, inside your app (so it searches for TestFixtures and executes them one by one).
Luc Pattyn [My Articles] [Forum Guidelines]
-
kontrolakka wrote:
Do I require the team edition?
For the integrated stuff from Microsoft, yep. Team Edition is the only one with Unittesting integrated. You might want to look into NUnit[^] as a free alternative.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
I'm using csUnit, which features a nifty VS2005 plugin, but is otherwise the same as nUnit. You can find it here.
Standards are great! Everybody should have one!
Don't tell me, tell the OP. I'm on Team System myself, so...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Hi, I'm developing with Microsoft Visual Studio 2005 Version 8. I want to create unit tests but can´t do so. I don't have the new test option in the solution explorer. Also, I can't add it as a project. Don't know why, I have done it in other installations. Do you know how can I add the possibility to create unit tests in C# in Visual Studio 2005? Do I require the team edition? Thanks Martín
The good news is that Visual Studio 2008 Pro will have unit tests. However, at the present time it seems that the open source unit test tools (possibly augmented by add-ins) are generally better than what is currently supplied with VS 2005.
Kevin