Code Generation and NUnit Testing in ASP.NET?
-
I am wondering if anyone would use code generation or NUnit testing in their ASP.NET web application development. I am a total stranger to both the Code Gen. and NUnit technologies. I have been asked if I knew these ones in my C# interviews but now that I am apply more for the ASP.NET jobs I was wondering if I should learn them. Any advice is truly appreciated.
-
I am wondering if anyone would use code generation or NUnit testing in their ASP.NET web application development. I am a total stranger to both the Code Gen. and NUnit technologies. I have been asked if I knew these ones in my C# interviews but now that I am apply more for the ASP.NET jobs I was wondering if I should learn them. Any advice is truly appreciated.
Definitely learn unit testing. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!
-
I am wondering if anyone would use code generation or NUnit testing in their ASP.NET web application development. I am a total stranger to both the Code Gen. and NUnit technologies. I have been asked if I knew these ones in my C# interviews but now that I am apply more for the ASP.NET jobs I was wondering if I should learn them. Any advice is truly appreciated.
I use nUnit w/ ASP.NET apps, but not to test my ASP.NET code. I put very little business logic in the web app. I build the business logic and data access in class libraries and use nUnit to test those. Then on the web app, I just call the same functions as my nUnit tests are calling, so I know I'll get good data back. Jeff Martin My Blog
-
I am wondering if anyone would use code generation or NUnit testing in their ASP.NET web application development. I am a total stranger to both the Code Gen. and NUnit technologies. I have been asked if I knew these ones in my C# interviews but now that I am apply more for the ASP.NET jobs I was wondering if I should learn them. Any advice is truly appreciated.
Jeff & Paul, Thank you both for your comments and suggestions. I can now see how NUnit can be used with ASP.NET apps. What's your suggestion on where to start learning/using NUnit? I have been to their site and downloaded their software and documentation. Is that the best route to go or are there any books/tutorials etc. online? Thanks,
-
Jeff & Paul, Thank you both for your comments and suggestions. I can now see how NUnit can be used with ASP.NET apps. What's your suggestion on where to start learning/using NUnit? I have been to their site and downloaded their software and documentation. Is that the best route to go or are there any books/tutorials etc. online? Thanks,
I have couple "general information" articles on Unit testing: Unit Test Patterns[^] Your first unit test[^] In addition, you'll notice on the sidebar additional articles on unit testing that are specific to my unit test engine.[^] Marc VS2005 Tips & Tricks -- contributions welcome!
-
Jeff & Paul, Thank you both for your comments and suggestions. I can now see how NUnit can be used with ASP.NET apps. What's your suggestion on where to start learning/using NUnit? I have been to their site and downloaded their software and documentation. Is that the best route to go or are there any books/tutorials etc. online? Thanks,
The guys responsible for The Pragmatic Programmer[^] -- a bookshelf necessity, by the way -- also publish a book called Pragmatic Unit Testing in C#[^] that offers a lot of insight into using NUnit, as well as what to test, how to structure tests, etc. Most of their books are available in both PDF format and the traditional dead tree. --Vincent
-
I am wondering if anyone would use code generation or NUnit testing in their ASP.NET web application development. I am a total stranger to both the Code Gen. and NUnit technologies. I have been asked if I knew these ones in my C# interviews but now that I am apply more for the ASP.NET jobs I was wondering if I should learn them. Any advice is truly appreciated.
To go along with that, at one contract that I had, we used CodeSmith[^] to generate all of our database code for a corporate ASP.NET system that they were selling. It worked very nicely once you had the template setup. You then just pointed it to the tables that you wanted to generate code for and let it go. Steve Maier, MCSD MCAD