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 testing

unit testing

Scheduled Pinned Locked Moved C / C++ / MFC
testingc++beta-testinghelptutorial
2 Posts 2 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.
  • D Offline
    D Offline
    deeps_cute
    wrote on last edited by
    #1

    hi how to do unit testing in mfc. is there any article to unit test my mfc code. pls help me

    Arise Awake Stop Not Till ur Goal is Reached.

    _ 1 Reply Last reply
    0
    • D deeps_cute

      hi how to do unit testing in mfc. is there any article to unit test my mfc code. pls help me

      Arise Awake Stop Not Till ur Goal is Reached.

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Unit testing is meant for developer to check whether the functionality implemented is working according to what was planned. If there are any discrepancies in the fn'lity the developer must resolve it before a release is sent to the Testing team. This ensures that the testing team finds least number of bugs. So in order to perform a unit testing you should know exactly what you want your code to do. Once you know this go ahead and execute the application to check if there is any bug that needs to be resolved. You can write test cases for yourself to check the execution and then perform a run. For eg: If you want your edit box to accept only chars and no special characters, number you would need to enter such values in the edit box and see it for yourself.

      Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

      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