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