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. C / C++ / MFC
  4. Unit tests

Unit tests

Scheduled Pinned Locked Moved C / C++ / MFC
comtoolsquestion
4 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.
  • RaviBeeR Offline
    RaviBeeR Offline
    RaviBee
    wrote on last edited by
    #1

    Hacking is what keeps me up nights - unit tests let me sleep at night. I :rose: tests! Just wanted to share... /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

    B H 2 Replies Last reply
    0
    • RaviBeeR RaviBee

      Hacking is what keeps me up nights - unit tests let me sleep at night. I :rose: tests! Just wanted to share... /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

      B Offline
      B Offline
      Bob Ciora
      wrote on last edited by
      #2

      Whatever works for you! But all true hackers drink gallons of coffee and never sleep :p Bob Ciora

      1 Reply Last reply
      0
      • RaviBeeR RaviBee

        Hacking is what keeps me up nights - unit tests let me sleep at night. I :rose: tests! Just wanted to share... /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

        H Offline
        H Offline
        Henry miller
        wrote on last edited by
        #3

        Doesn't matter. I test and test and test. Then I scream we need a seperate test group. I still wake up in the middle of the night once in a while when I realize I forgot to test some obscure case. Or when a customer discovers one bug and I realize it has a more general case that is likely to hit others. It helps to have a seperate test group, but even when I was lucky enough to have a good one the above happened.

        RaviBeeR 1 Reply Last reply
        0
        • H Henry miller

          Doesn't matter. I test and test and test. Then I scream we need a seperate test group. I still wake up in the middle of the night once in a while when I realize I forgot to test some obscure case. Or when a customer discovers one bug and I realize it has a more general case that is likely to hit others. It helps to have a seperate test group, but even when I was lucky enough to have a good one the above happened.

          RaviBeeR Offline
          RaviBeeR Offline
          RaviBee
          wrote on last edited by
          #4

          Unit tests are not a substitute for system testing! But they help identify bugs a lot sooner by focusing on specific APIs. As a matter of habit, I write unit tests for (virtually all) API calls before implementing the APIs themselves. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

          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