Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Can´t Create Unit Tests

Can´t Create Unit Tests

Scheduled Pinned Locked Moved C#
csharpquestionvisual-studiocollaborationannouncement
9 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kontrolakka
    wrote on last edited by
    #1

    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

    N C D K 4 Replies Last reply
    0
    • K kontrolakka

      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

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      You need the Developer or Tester edition.


      only two letters away from being an asset

      K 1 Reply Last reply
      0
      • K kontrolakka

        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

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • K kontrolakka

          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

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          L B 2 Replies Last reply
          0
          • N Not Active

            You need the Developer or Tester edition.


            only two letters away from being an asset

            K Offline
            K Offline
            kontrolakka
            wrote on last edited by
            #5

            Thank you very much.

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              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

              L Offline
              L Offline
              Luc Pattyn
              wrote on last edited by
              #6

              Absolutely, 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]

              1 Reply Last reply
              0
              • D Dave Kreskowiak

                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

                B Offline
                B Offline
                Bekjong
                wrote on last edited by
                #7

                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!

                D 1 Reply Last reply
                0
                • B Bekjong

                  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!

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  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

                  1 Reply Last reply
                  0
                  • K kontrolakka

                    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

                    K Offline
                    K Offline
                    Kevin McFarlane
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups