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. The Lounge
  3. Unit Testing info required

Unit Testing info required

Scheduled Pinned Locked Moved The Lounge
testingcsharpasp-netdebuggingbeta-testing
6 Posts 4 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.
  • S Offline
    S Offline
    Senkwe Chanda
    wrote on last edited by
    #1

    It's been said many a time that the proper programming cycle is code/compile/test and not code/compile/debug. Anyone know of good unit testing samples that go through a sample iteration through a small "hello world" like app? I'm not too clear on how to write the actual unit tests. What should they cover? How do you know when you're done? What's a good enough unit test? etc etc. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

    R S D L 4 Replies Last reply
    0
    • S Senkwe Chanda

      It's been said many a time that the proper programming cycle is code/compile/test and not code/compile/debug. Anyone know of good unit testing samples that go through a sample iteration through a small "hello world" like app? I'm not too clear on how to write the actual unit tests. What should they cover? How do you know when you're done? What's a good enough unit test? etc etc. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

      R Offline
      R Offline
      Ragavendran Vaidhyanadhan
      wrote on last edited by
      #2

      Hi There are plenty of resources about unit testing over the internet. You may follow the link . Senkwe Chanda wrote: I'm not too clear on how to write the actual unit tests. I presume this may give you a good understanding . http://www.junit.org/index.htm And, sourceforge ,too holds a project for unit testing. here is , http://sourceforge.net/projects/nunit/ Ragavendran Vaidhyanadhan

      S 1 Reply Last reply
      0
      • R Ragavendran Vaidhyanadhan

        Hi There are plenty of resources about unit testing over the internet. You may follow the link . Senkwe Chanda wrote: I'm not too clear on how to write the actual unit tests. I presume this may give you a good understanding . http://www.junit.org/index.htm And, sourceforge ,too holds a project for unit testing. here is , http://sourceforge.net/projects/nunit/ Ragavendran Vaidhyanadhan

        S Offline
        S Offline
        Senkwe Chanda
        wrote on last edited by
        #3

        Yeah I was aware of junit and nunit, but I was interested in the actual methodologies involved. NUnit/JUnit are tools (very good ones I hear) but I need examples so that I use them properly. I downloaded an early version of NUnit and didn't find good sample usage at that time, so I assumed they expected you to e familiar with unit testing, Xtreme Programming etc. Thanks. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

        1 Reply Last reply
        0
        • S Senkwe Chanda

          It's been said many a time that the proper programming cycle is code/compile/test and not code/compile/debug. Anyone know of good unit testing samples that go through a sample iteration through a small "hello world" like app? I'm not too clear on how to write the actual unit tests. What should they cover? How do you know when you're done? What's a good enough unit test? etc etc. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

          S Offline
          S Offline
          Senkwe Chanda
          wrote on last edited by
          #4

          Oh well, only one response, guess I'll just have to slog through the NUnit code samples and net sites. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

          1 Reply Last reply
          0
          • S Senkwe Chanda

            It's been said many a time that the proper programming cycle is code/compile/test and not code/compile/debug. Anyone know of good unit testing samples that go through a sample iteration through a small "hello world" like app? I'm not too clear on how to write the actual unit tests. What should they cover? How do you know when you're done? What's a good enough unit test? etc etc. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

            D Offline
            D Offline
            Daniel Turini
            wrote on last edited by
            #5

            Download the .NET CLR sources from Microsoft's web site. The sources include some "test" directories that are actually the test scripts they make. People can whine about MS not testing too much their software, and bugs on .NET, but their .NET test scripts are impressive: comprehensive and very well-written. I definitively would use them as a target when writing unit tests. Looking at these sources also gave me a great confidence in .NET platform. Concussus surgo. When struck I rise.

            1 Reply Last reply
            0
            • S Senkwe Chanda

              It's been said many a time that the proper programming cycle is code/compile/test and not code/compile/debug. Anyone know of good unit testing samples that go through a sample iteration through a small "hello world" like app? I'm not too clear on how to write the actual unit tests. What should they cover? How do you know when you're done? What's a good enough unit test? etc etc. ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

              L Offline
              L Offline
              Londo
              wrote on last edited by
              #6

              Try CppUnit. There are quite a few examples available with it. It's on sourceforge. I've found it wonderfully useful.

              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