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. .NET (Core and Framework)
  4. Primary Bugs and Unit Testing

Primary Bugs and Unit Testing

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpasp-netdatabasesql-serversysadmin
5 Posts 3 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.
  • L Offline
    L Offline
    Laiju k
    wrote on last edited by
    #1

    I want to minimize my primary Bugs as testing team is saying.I think my Unit Testing is not much effective.I like to get a few tips on that part.Please help me! [ASP.NET,C#,SQL SERVER 2008] Thanks in Advance

    P B 2 Replies Last reply
    0
    • L Laiju k

      I want to minimize my primary Bugs as testing team is saying.I think my Unit Testing is not much effective.I like to get a few tips on that part.Please help me! [ASP.NET,C#,SQL SERVER 2008] Thanks in Advance

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Our very own Marc Clifton has written this free[^] book on unit testing. It's very good.

      L 1 Reply Last reply
      0
      • P Pete OHanlon

        Our very own Marc Clifton has written this free[^] book on unit testing. It's very good.

        L Offline
        L Offline
        Laiju k
        wrote on last edited by
        #3

        Thanks.I will give it a try.

        1 Reply Last reply
        0
        • L Laiju k

          I want to minimize my primary Bugs as testing team is saying.I think my Unit Testing is not much effective.I like to get a few tips on that part.Please help me! [ASP.NET,C#,SQL SERVER 2008] Thanks in Advance

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          A very important issue is that your code must be "clean" to be testable (see also Robert Martin "Clean Code"). Classes with several thousand lines of code, functions with hundreds of lines of code are not testable. You'll have to write many small classes with small functions. That could be the hardest issue when starting.

          L 1 Reply Last reply
          0
          • B Bernhard Hiller

            A very important issue is that your code must be "clean" to be testable (see also Robert Martin "Clean Code"). Classes with several thousand lines of code, functions with hundreds of lines of code are not testable. You'll have to write many small classes with small functions. That could be the hardest issue when starting.

            L Offline
            L Offline
            Laiju k
            wrote on last edited by
            #5

            Thanks.Robert Cecil Martin's

            Bernhard Hiller wrote:

            "Clean Code"

            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