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. Code Generation and NUnit Testing in ASP.NET?

Code Generation and NUnit Testing in ASP.NET?

Scheduled Pinned Locked Moved The Lounge
csharpasp-netai-codingtestingbeta-testing
7 Posts 6 Posters 2 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.
  • P Offline
    P Offline
    Pete Madden
    wrote on last edited by
    #1

    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.

    P J P S 4 Replies Last reply
    0
    • P Pete Madden

      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.

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      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!

      1 Reply Last reply
      0
      • P Pete Madden

        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.

        J Offline
        J Offline
        Jeff Martin
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • P Pete Madden

          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.

          P Offline
          P Offline
          Pete Madden
          wrote on last edited by
          #4

          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,

          M V 2 Replies Last reply
          0
          • P Pete Madden

            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,

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #5

            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!

            1 Reply Last reply
            0
            • P Pete Madden

              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,

              V Offline
              V Offline
              vincent reynolds 0
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • P Pete Madden

                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.

                S Offline
                S Offline
                Steve Maier
                wrote on last edited by
                #7

                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

                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